Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
expires_in
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC 6749 mandate expires_in to be an integer (https://tools.ietf.org/html/rfc6749#appendix-A.14) but looks like the integer conversion is not done for implicit grant (oauth2-client side).
We can see the current implementation for the oauth2.parameters.parse_token_response: https://github.com/oauthlib/oauthlib/blob/master/oauthlib/oauth2/rfc6749/parameters.py#L367
oauth2.parameters.parse_token_response
And the missing conversion code in the parse_implicit_response : https://github.com/oauthlib/oauthlib/blob/master/oauthlib/oauth2/rfc6749/parameters.py#L367
parse_implicit_response
The text was updated successfully, but these errors were encountered:
Merge pull request #570 from oauthlib/569_expires_in_implicit
05b1185
#569: Implicit was not converting expires_in into integers
JonathanHuot
No branches or pull requests
RFC 6749 mandate
expires_in
to be an integer (https://tools.ietf.org/html/rfc6749#appendix-A.14) but looks like the integer conversion is not done for implicit grant (oauth2-client side).We can see the current implementation for the
oauth2.parameters.parse_token_response
: https://github.com/oauthlib/oauthlib/blob/master/oauthlib/oauth2/rfc6749/parameters.py#L367And the missing conversion code in the
parse_implicit_response
: https://github.com/oauthlib/oauthlib/blob/master/oauthlib/oauth2/rfc6749/parameters.py#L367The text was updated successfully, but these errors were encountered: