mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: assign users to groups returned by OIDC provider (#5965)
This commit is contained in:
@@ -56,6 +56,8 @@ func New(ctx context.Context, options *Options) (*API, error) {
|
||||
cancelEntitlementsLoop: cancelFunc,
|
||||
}
|
||||
|
||||
api.AGPL.Options.SetUserGroups = api.setUserGroups
|
||||
|
||||
oauthConfigs := &httpmw.OAuth2Configs{
|
||||
Github: options.GithubOAuth2Config,
|
||||
OIDC: options.OIDCConfig,
|
||||
|
||||
Reference in New Issue
Block a user