Skip to content

OAuth2 spec compliance for token expires_in #761

Closed
wants to merge 1 commit into from

3 participants

@scarlson
scarlson commented May 4, 2013

OAuth2 spec calls for int type on expires_in.

Reddit is passing float:

{"access_token": "token", "token_type": "bearer", "expires_in": 3600.0, "scope": "identity"}

@chromakode

🐟 Great catch, looks good. Hopefully any existing parsers that expect a float can take an int as well, so we don't have to worry about transitioning to this.

@bsimpson63
reddit member
@bsimpson63 bsimpson63 closed this May 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.