Hello,
I am integrating Fitbit api in my iOS App. I am able to login to my Fitbit account and pul the data from the api. My question is, in my App I want to logout from my account and login to another user account. How to achieve that? I am able to revoke permission but I am not able to logout and login as another Fitbit user. Please help
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.
Hi @FitnessGal123,
Welcome to the Forums!
Are you trying to get another user to go through the Fitbit consent flow to share data with your application? If so, you can send the Fitbit Oauth 2.0 authorization link to the other Fitbit user, but make sure to include the parameter "prompt=login_consent" to force the new user to log into their account and consent to share data. To see all the authorization url parameters, please see our documentation here.
Best Answer
Best AnswerHello John. It does not work If I got you correctly. I will always start with permissions page. So once I log in with one user I will never login with another until I do not select the button - Not you? How can I start with credential screen once again?
Best Answer