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

OAuth2 implicit grant - question about expires_in

I have tried to set expires_in to 2592000 as mentioned in the docs. After authenticating, I get the callback url and the parameter expires_in is always set to 86400. 

 

Is it possible to set a longer expires_in for implicit grant?

Best Answer
0 Votes
3 REPLIES 3

This is working for me. Here is my example Authorization Page URL:

https://www.fitbit.com/oauth2/authorize?response_type=token&client_id=228YX6&redirect_uri=https%3A%2...

Best Answer
0 Votes

once i include prompt=login consent, then it doesn't respect the expires_in? 

 

Can you see if that applies to you too? Is there a work around?

Best Answer
0 Votes

@slingkid: I was able to reproduce this issue. We hope to have a fix for it within the next two weeks.

 

As an interim solution, `prompt=consent` without the `login` works, ex: https://www.fitbit.com/oauth2/authorize?response_type=token&client_id=228YX6&redirect_uri=https%3A%2...

Best Answer
0 Votes