Skip to content

sharp edge: CODER_OIDC_EMAIL_DOMAIN does not work if it contains an '@' symbol #13509

Closed
@johnstcn

Description

@johnstcn

If CODER_OIDC_EMAIL_DOMAIN is configured with an '@' symbol (e.g. CODER_OIDC_EMAIL_DOMAIN=@example.com), then OIDC logins will fail with the message

`Your email "user@example.com" is not in domains ["@example.com"]!

Potentially related to 4439a92

Workaround: remove the '@' symbol.

Metadata

Metadata

Assignees

Labels

s3Bugs that confuse, annoy, or are purely cosmeticsecurityArea: security

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions