mirror of
https://github.com/coder/coder.git
synced 2026-06-07 23:18:20 +00:00
feat: allow configurable username claim field in OIDC (#5507)
Co-authored-by: Colin Adler <colin1adler@gmail.com>
This commit is contained in:
@@ -880,6 +880,7 @@ func (o *OIDCConfig) OIDCConfig() *coderd.OIDCConfig {
|
||||
}, &oidc.Config{
|
||||
SkipClientIDCheck: true,
|
||||
}),
|
||||
UsernameField: "preferred_username",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user