Skip to content

fix(coderd): userOIDC: ignore leading @ of EmailDomain #13568

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

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Jun 13, 2024

Fixes #13509

This modifies our OIDC signup logic to strip a leading @ sign from the configured OIDC EmailDomains before comparison. Folks had been adding this and it breaks OIDC logins.

@johnstcn johnstcn requested a review from coadler June 13, 2024 13:28
@johnstcn johnstcn self-assigned this Jun 13, 2024
@johnstcn johnstcn merged commit fe240ad into main Jun 14, 2024
34 checks passed
@johnstcn johnstcn deleted the cj/oidc_email_domain_strip_at branch June 14, 2024 08:29
@github-actions github-actions bot locked and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sharp edge: CODER_OIDC_EMAIL_DOMAIN does not work if it contains an '@' symbol
2 participants