-
Notifications
You must be signed in to change notification settings - Fork 694
Use responseType parameter #397
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
Conversation
Check user requestType paramater before apply default responseType. So the user can define the behavior. Closes: manfredsteyer#385 See: manfredsteyer#385
The changes look backwards compatible to me, no existing implementations would be broken AFAICT. Out of curiosity I read through 8.4 from RFC 6749 which seems to be about this part of OAuth2. I had never known that there could even be whole other types of One remark about the proposed PR though: it might be good to add documentation to |
@mpbalmeida Great work, I could really do with this change too. I agree with @jeroenheijmans it would be good to add the doc to the AuthConfig class. I have also raised a support issue with AWS, I may be wrong, but I don't think they are fully compliant with the spec. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a doc to the AuthConfig responseType and remove the whitespace commits?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accidental comment
} else { | ||
this.responseType = 'token'; | ||
if (this.oidc && this.requestAccessToken) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be else if, too, right? That would simplify this if/else/else if complexity, I think :)
One comment, otherwise I would love to see this merged and released :) |
Thx |
Check user requestType paramater before apply default responseType. So the user can define the behavior.
Closes: #385
See: #385