How can I revoke an access token obtained through implicit grant flow?
The documentation states:
"The Authorization header must be set to Basic followed by a space, then the Base64 encoded string of your application's client id and secret concatenated with a colon."
But with implicit grant flow you don't have the secret, by design.
Thanks,
- Rich
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
So if I'm making an iOS app, I should be using implicit grant flow, correct? In that case, is there no way for the user to deauthorize directly from the app? I guess what I really want to do is to have the user be able to deauthorize the app if they choose.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Correct—your app should only revoke its own authorization via a server-to-server request.
People can also revoke access to apps they've authorized in their Fitbit settings.
Best Answer