Turns the okta groups array into a coma separated string (#3956)

This commit is contained in:
Nicolas Troncoso 2018-02-13 05:18:43 -08:00 committed by Jeff Mitchell
parent 084f0abb22
commit 2a8159c2ae
1 changed files with 1 additions and 1 deletions

View File

@ -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
}