-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
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
missing oauth2:authorize_password/3 with refresh token #20
Comments
Agree, this should be in there. |
Similar case in oauth2:authorize_code_grant/4, it always issues a refresh token when it is optional in the specification. I see four possible solutions:
What do you think?. |
I agree that suggestion 4 is probably the way to go. |
Good, I will work it out and open and PR. |
Awsome, great work Ivan! |
See PR #25 |
Merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The protocol specification allows to issue a refresh token in the response to a Resource Owner Password Credential Grant:
http://tools.ietf.org/html/rfc6749#section-4.3.3
However the current implementation of oauth2:authorize_password/3 uses issue_token/4, so a refresh token can't be issued. It should be possible to use issue_token_and_refresh/4 when desired.
The text was updated successfully, but these errors were encountered: