-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Update OIDCConfig with scope information #13973
Update OIDCConfig with scope information #13973
Conversation
) | ||
{ | ||
this.clientID = Preconditions.checkNotNull(clientID, "null clientID"); | ||
this.clientSecret = Preconditions.checkNotNull(clientSecret, "null clientSecret"); | ||
this.discoveryURI = Preconditions.checkNotNull(discoveryURI, "null discoveryURI"); | ||
this.scope = Preconditions.checkNotNull(scope, "null scope"); |
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.
null scope should be allowed or otherwise existing installations will break.
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.
thanks for pointing out, updated.
you may need to update the docs as well. |
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.
default scope is "openid profile email" from what I can tell looking in the lib.
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.
thanks for the feedback, I will update the docs.
Where did you find the default value?
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.
Updates OIDCConfig class with scope information
Set scope for OIDCConfiguration object
This PR has: