Is anyone able to help out with how to send a ‘claim code’ to a device.
I’ve basically finished my web app with softap setup etc. and thought it was working ok, but I tried creating a test customer with a new account (simple auth) and realised that I was missing out the “Create Claim Code & Send to Device” step outlined here: https://docs.particle.io/guide/how-to-build-a-product/authentication/
Creating the claim code seems easy enough via the API but how should this be sent to the device? Is there an API command to do this after the device has come online?
Originally I thought it was as simple as logging the user in and claiming the device by sending their access token and device ID, so I’m a bit confused about sending a claim code through first.
The docs say this will be handled by an SDK in the future but I really need to get this sorted soon, as I’m sending out product in a few weeks. I’m a bit confused as there seems to be a lot of people already sending products to customers. How are they managing here?
Are you able to shed any light on this @jeiden?