-
-
Notifications
You must be signed in to change notification settings - Fork 861
Add additional parameter to oidc SkipEmailVerified to translate it to the dex #6478
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
Add additional parameter to oidc SkipEmailVerified to translate it to the dex #6478
Conversation
… dex Signed-off-by: kirillbilchenko <kirya7@gmail.com>
63fa51c
to
ac4a8b0
Compare
ac4a8b0
to
3d09adb
Compare
For a temporary solution, #6431 (comment) |
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.
lgtm, @kirillbilchenko you might also want to open an identical PR to backport this to the release/v6.7.x
branch, master
is currently targeted for v7.0.0.
@xtremerui what do you think of allowing configuring an --dex-config
flag which gets marshalled into an oidc.Config
struct and then merged with the config we construct?
The idea would be that if dex decides to add any new flags that we didn't notice, users can at least work around the regression without having to wait for a patch release.
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.
Actually, do you mind renaming the flag to InsecureSkipEmailVerified
? It better describes what it actually does: ignore the email_verified
value
I think it could be an additional config to all cmds in skymarshall so it will work for all connectors. |
will rename, @chenbh I will open the same PR to backport branch after we will merge this one |
Signed-off-by: kirillbilchenko <kirya7@gmail.com>
Signed-off-by: kirillbilchenko <kirya7@gmail.com>
Explanation of issue can be found in this PR: dex
Add
--oidc-force-email-verified
flag to OIDC connector configure.As we are using Azure as an identity provider, it's not producing this field.
Some providers return claims without "email_verified", when they had no usage of emails verification in enrollement process.
Signed-off-by: kirillbilchenko kirya7@gmail.com
What does this PR accomplish?
Bug Fix | Feature | Documentation
closes # .
Changes proposed by this PR:
Notes to reviewer:
Release Note
email_verified
claim, which causes a validation error by defaultCONCOURSE_OIDC_SKIP_EMAIL_VERIFIED_VALIDATION
totrue
Contributor Checklist
Reviewer Checklist
BOSH and
Helm packaging; otherwise, ignored for
the integration
tests
(for example, if they are Garden configs that are not displayed in the
--help
text).