From e325f925eb0fed1faf358dc05ce1d22bde060a9f Mon Sep 17 00:00:00 2001 From: Pamy Carme Date: Wed, 12 Jun 2024 12:54:19 -0400 Subject: [PATCH] Update microsoft.go GroupNameFormat type --- connector/microsoft/microsoft.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/connector/microsoft/microsoft.go b/connector/microsoft/microsoft.go index 719b92de66..7ce57d683b 100644 --- a/connector/microsoft/microsoft.go +++ b/connector/microsoft/microsoft.go @@ -27,8 +27,8 @@ type GroupNameFormat string // Possible values for GroupNameFormat const ( - GroupID GroupNameFormat = "id" - GroupName GroupNameFormat = "name" + GroupID string = "id" + GroupName string = "name" ) const ( @@ -50,7 +50,7 @@ type Config struct { Tenant string `json:"tenant"` OnlySecurityGroups bool `json:"onlySecurityGroups"` Groups []string `json:"groups"` - GroupNameFormat GroupNameFormat `json:"groupNameFormat"` + GroupNameFormat string `json:"groupNameFormat"` UseGroupsAsWhitelist bool `json:"useGroupsAsWhitelist"` EmailToLowercase bool `json:"emailToLowercase"` @@ -118,7 +118,7 @@ type microsoftConnector struct { clientSecret string tenant string onlySecurityGroups bool - groupNameFormat GroupNameFormat + groupNameFormat string groups []string useGroupsAsWhitelist bool logger log.Logger