Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Logoff uri

In the custom application, need a way to log off the current Fitbit user and log in with a new users.  Any suggestion?

 

Currently user will have to go to fitibit site to logoff first so another user can log in on a shared computer.

 

Thanks

Charge 2; Aria; Developer of www.wellnessbear.com
Best Answer
0 Votes
4 REPLIES 4

Use the `prompt=login` parameter on the OAuth 2.0 authoriation page. https://dev.fitbit.com/docs/oauth2/#authorization-page

Best Answer
0 Votes

I am working on a Fitbit authentication provider for the DotNetNuke platform.  I am looking for advice to logoff from both DotNetNuke and Fitbit at the same time.   

 

Issue: On a shared computer (example at the conference), user A visits custom website and logs on using Fitbit account.  Then, user A logs off from the website.   At a later time user B hops on the kiosk PC and accesses the website.   Upon selecting option to login using Fitbit account, user B will be logged in with user A Fitbit credential without be prompted to login. 

 

One way to force logoff from Fitbit is to redirect to the https://www.fitbit.com/logout.  I am looking for API method (perhaps prompt=logoff?) to log off from Fitbit without redirect to Fitbit logout page.

 

Charge 2; Aria; Developer of www.wellnessbear.com
Best Answer
0 Votes

Fitbit uses cookies for being signed into www.fitbit.com and there is not an API for third-party apps to invalidate them.

 

A better option for conference kiosks is to reset the browser entirely when people are finished using them.

Best Answer
0 Votes

I am working on iOS applications which is integrated with fitbit api. So my questions is that is there any logout uri for third applications to get signout from the user accounts?. It will help me a lot.

Thanks in advance.

Best Answer