-
Notifications
You must be signed in to change notification settings - Fork 327
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
Show a warning when at least one OIDC param detected, but not all are set #1733
Conversation
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.
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.
Great job @aruiz2 @Qingyang-Sophia!
Minor note: GH can link and automatically close the issue after merge if the PR description contains |
Closes #1711.
Our code checks whether any of the OIDC required params are not empty in the function checkEmptyOIDCValues(). This function counts the amount of empty OIDC params. It returns a slice containing the empty OIDC params detected as well as a boolean which is true when some but not all OIDC params are empty.
After calling the function we just check if this boolean is true to display the required warning.
Collaborators:
@Qingyang-Sophia
@aruiz2