Product attached Photon unclaim then claim

Greetings,

A friend and myself have developed a product and are using photons which are owned by his personal account and my own. Since at this point there is no time to write code to do two-legged authentication to setup the photons under a customer I have setup a business (personal) account to have ownership of all photons. We can then use its access_token for api access from our server.

I think my issue is that I am trying to claim a photon with a personal/business account while it is attached to a product, but I would like to verify.

Here are the steps I am following:
In the product dashboard I select one of the photons and unclaim it from the owner (not remove it from the product). This results in the owner email address being removed from the device.

I then connect to the photon using usb and in blue-flashy mode and from the cli (logged in with the business creds) run $ particle setup
I am able to setup the device adding wifi data etc. and then the device reboots. It successfully connects to the particle cloud (slow blue breathing) but the cli times out waiting for response that the device was correctly claimed.

My guess that I cannot claim the device because it is part of the product. If this is the case, I am guessing what I need to do:

  1. Unclaim device from product dashboard
  2. Remove device from product
  3. Claim (setup) device using new owner account
  4. Add the device back to the product.

Seems like a lot of ceremony, but I guess there is good security reasons for this. Please let me know if I am on the right track here or missing something.

Thank you,

Brett

1 Like

Hello,

Let me ping someone that might be able to help, @rickkas7 are you able to assist?

Kyle