Hey,
I’m trying to grab an Oauth token so a desktop application can pub/sub with my particle devices.
I’m able to send the api.particle.io/oauth/token request and get a mfa_token challenge.
However the endpoint doesn’t seem to be accepting the mfa_token and otp fields.
How do I send an OTP back?
I’ve added the mfa_token to my encoded data, and I’ve tried creating a field named “otp” and set it equal to my six-digit MFA otp. I just get a different mfa_token challenge.
Tried naming it otp_token and particle-otp-token. There doesn’t seem to be documentation on how to handle the challenge in the reference documents.
Thanks!