mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00: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