Skip to main content
edited tags
Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Source Link
Andy
  • 417
  • 3
  • 12

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope.

After the final POST step, I receive back an expires value of 86399 (just shy of a full day).

It seems that my options are to either take this nearly full day or never expire the tokens. Is there a middle ground? I don't want to annoy my users by requiring them to re-authenticate daily but I'm also hesitant to request non-expiring tokens.