03-17-2016 15:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-17-2016 15:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Can I make assumptions about the length of the access and refresh tokens?
Answered! Go to the Best Answer.
Accepted Solutions
11-14-2016 18:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-14-2016 18:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Your app should accomodate 1,024 bytes per token.
03-18-2016 13:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-18-2016 13:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Also, is there an upper bound for the length of each type of token?
11-12-2016 17:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-12-2016 17:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'd also like to know

11-12-2016 19:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-12-2016 19:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@m4olivei You can select the lifetime of the access token.
Authorization Code Grant Flow: 1 hour or 8 hours (defaults to 8 hours)
Implicit Grant Flow: 1 day / 1 week / 30 day / 1 year (defaults to 1 day)
Refresh tokens do not expire until they've been used, or if the user goes through the authorization process again.

11-14-2016 05:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-14-2016 05:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks, but we're asking about the character length of the token. Is there a defined length of token, or can it vary. Is it different for the access_token and refresh_token?

11-14-2016 18:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-14-2016 18:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Your app should accomodate 1,024 bytes per token.
