I’m working on a project for my company where we are creating a Particle Product using Electrons. The basis of the project is that there are pairs of Electrons that can communicate with each other which will be given to two different members within a family.
I am working on creating a web app experience using JS (and Node.JS as backend if there needs to be) that will allow these family members to create accounts using Particle and then claim the devices so that they can control functions on the Electron using the web app.
I’ve created a new Simple Authentication Client using the Particle IDE so I have the client ID and secret. I’ve also looked through the JS SDK Particle provides.
However, I can’t figure out how to add the client id/secrets to the SDK using the Particle JS SDK. There doesn’t seem to exist any documentation on how to do this. Has anyone successfully created a Web App that behaves similarly to what I’m looking for?
Any help would be very appreciated!