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
Codercord6mo ago
<#1236599457999749160>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys6mo ago
Authentication - Coder v2 Docs
Learn how to set up authentication using GitHub or OpenID Connect
Phorcys
Phorcys6mo 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
深雪
深雪6mo 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
Phorcys6mo ago
yeah i see what you mean
Phorcys
Phorcys6mo ago
have you tried not defining CODER_OIDC_EMAIL_DOMAIN at all ?
server - Coder v2 Docs
Start a Coder server
深雪
深雪6mo ago
oh, that work thanks :Heart_Pink:
Phorcys
Phorcys6mo ago
great! marking this as resolved !
Codercord
Codercord6mo ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server