I’m building a simple integration with Blockly, that will allow people to write code in Blockly, then push it to their Particle device. As such, I need three-legged OAuth (“Login with Particle”) support. It seems this is supported, but not documented - the guide says “coming soon”, and the docs only cover creating a client, not where to send users to start the OAuth flow.
Can someone on the Particle team point me to more complete docs, or offer some basic pointers on getting this set up?
For anyone following along at home, I got this working without docs. The OAuth authentication URL is https://api.particle.io/oauth/authorize, and the token URL is https://api.particle.io/oauth/token. The flow is standard OAuth2 three-legged auth, after which you can make OAuth-authenticated requests to any of the API endpoints as your authenticated user.