Allow everyone from OIDC

Hi. I am trying to allow everyone from my OpenID Connect. Since we self host our openid, we would like to allow everyone who login from there. How can we achieve that? Thanks!
9 Replies
Codercord
Codercord7mo ago
<#1236599457999749160>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys7mo ago
Authentication - Coder v2 Docs
Learn how to set up authentication using GitHub or OpenID Connect
Phorcys
Phorcys7mo ago
if you only have one or a small amount of email domains then you can set you can add all the email domains to CODER_OIDC_EMAIL_DOMAIN otherwise let me see if it's optional it doesn't say on the docs
深雪
深雪OP7mo ago
yeah, if i put the domain in, i can login but the thing is everyone got their mail on their own domain so it take me a long time to put everyone in :CWS_bruh: any idea?
Phorcys
Phorcys7mo ago
yeah i see what you mean
Phorcys
Phorcys7mo ago
have you tried not defining CODER_OIDC_EMAIL_DOMAIN at all ?
server - Coder v2 Docs
Start a Coder server
深雪
深雪OP7mo ago
oh, that work thanks :Heart_Pink:
Phorcys
Phorcys7mo ago
great! marking this as resolved !
Codercord
Codercord7mo ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server