From 2a8159c2ae3ebb777d0826490d3ea47800e0d774 Mon Sep 17 00:00:00 2001 From: Nicolas Troncoso Date: Tue, 13 Feb 2018 05:18:43 -0800 Subject: [PATCH] Turns the okta groups array into a coma separated string (#3956) --- builtin/credential/okta/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/credential/okta/backend.go b/builtin/credential/okta/backend.go index 95829a9a1..dbba93a59 100644 --- a/builtin/credential/okta/backend.go +++ b/builtin/credential/okta/backend.go @@ -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 }