diff --git a/management/connection.go b/management/connection.go index 831d72b4..30800d5a 100644 --- a/management/connection.go +++ b/management/connection.go @@ -525,7 +525,8 @@ type ConnectionOptionsOIDC struct { UserInfoEndpoint *string `json:"userinfo_endpoint"` TokenEndpoint *string `json:"token_endpoint"` - Scope *string `json:"scope,omitempty"` + Scope *string `json:"scope,omitempty"` + SetUserAttributes *string `json:"set_user_root_attributes,omitempty"` } func (c *ConnectionOptionsOIDC) Scopes() []string { diff --git a/management/management.gen.go b/management/management.gen.go index 71993409..0a54ee6b 100644 --- a/management/management.gen.go +++ b/management/management.gen.go @@ -2045,6 +2045,14 @@ func (c *ConnectionOptionsOIDC) GetScope() string { return *c.Scope } +// GetSetUserAttributes returns the SetUserAttributes field if it's non-nil, zero value otherwise. +func (c *ConnectionOptionsOIDC) GetSetUserAttributes() string { + if c == nil || c.SetUserAttributes == nil { + return "" + } + return *c.SetUserAttributes +} + // GetTenantDomain returns the TenantDomain field if it's non-nil, zero value otherwise. func (c *ConnectionOptionsOIDC) GetTenantDomain() string { if c == nil || c.TenantDomain == nil {