04-01-2021 12:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-01-2021 12:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
04-05-2021 09:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



04-05-2021 09:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

04-05-2021 09:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-05-2021 09:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am able to login and get the data. Need a way to logout from that not revoke, just logout.

01-18-2023 01:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-18-2023 01:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello 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?

