Turns the okta groups array into a coma separated string (#3956)
This commit is contained in:
parent
084f0abb22
commit
2a8159c2ae
|
@ -218,7 +218,7 @@ func (b *backend) getOktaGroups(client *okta.Client, user *okta.User) ([]string,
|
|||
oktaGroups = append(oktaGroups, group.Profile.Name)
|
||||
}
|
||||
if b.Logger().IsDebug() {
|
||||
b.Logger().Debug("auth/okta: Groups fetched from Okta", "num_groups", len(oktaGroups), "groups", oktaGroups)
|
||||
b.Logger().Debug("auth/okta: Groups fetched from Okta", "num_groups", len(oktaGroups), "groups", fmt.Sprintf("%#v", oktaGroups))
|
||||
}
|
||||
return oktaGroups, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue