-
Notifications
You must be signed in to change notification settings - Fork 6k
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
authorization_uri Supports Query Parameters #6299
Conversation
@jgrandja note that while For that reason, the code still manually encodes the query parameters. However, let me know if it's okay to change the existing way |
@jzheaux Do we know why there is a difference? Is this something we should take up with Spring Framework team? |
@rwinch It appears to be related to RFC 3986 (emphasis mine):
|
Given that |
Because of this, authorization_uri can now be a fully-qualified url. Fixes: spring-projectsgh-5760
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.
@jzheaux This looks great. As an FYI, encode()
defaults to StandardCharsets.UTF_8
so no need to be explicit with encode(StandardCharsets.UTF_8)
. I'm indifferent on whether you keep it as-is or change it to encode()
.
Can you please merge this?
@jgrandja yes, I considered that, but I prefer the explicit statement to use |
Fixes: gh-5760