I am working on creating a Simple Auth Web App. I have been following multiple conversations on this topic and I still have some issues in successfully claiming a Photon (Simple Authentication). By now, I have succeeded in:
Creating a OAuth client ID.
Create a customer + getting customer access token.
Create a claim code using: https://api.particle.io/v1/device_claims?access_token=access_token_of_customer_created_in_step_2.
Send WiFi credentials using SoftAp (using the work from @mebrunet - https://github.com/mebrunet/softap-setup-page ), including the claim_code parameter generated in step 3 in the url ( http://mydomain.com/softap/?claim_code=claim_code_generated_in_step_3 ).
I have read the docs, but I cannot figure out what I am doing wrong. Any help is welcome!