How long until refresh tokens expire?

Is anyone aware of how long a a refresh_token will remain valid for (still allow the server to request new access_tokens)? I couldn't see any indication of this in the YNAB API docs.

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I don't know the answer, but anecdotally I can tell you it lasts at least two weeks.  I just tested this with an app I'm working on, that I last ran two weeks ago and just started now, and it was able to get a new token using the previous refresh token from two weeks ago.

    • Emanuel Borsboom Thanks for the info, that's useful to know

  • Hi Felix Terpstra !

    Access Tokens are good for 2 hours (that's in the docs, so you may have found that!). Refresh tokens are good for an extended period of time, but if you're having any trouble with expiry please let me know, or send us an email at [email protected] and we'll help get that squared away!

    • Chrissy No trouble yet, was just confirming. Thanks for your help!

Like Follow
  • 5 mths agoLast active
  • 4Replies
  • 173Views
  • 3 Following