diff --git a/pkg/modules/auth/openid/providers.go b/pkg/modules/auth/openid/providers.go index 0a1155883..a646e8658 100644 --- a/pkg/modules/auth/openid/providers.go +++ b/pkg/modules/auth/openid/providers.go @@ -120,9 +120,11 @@ func getProviderFromMap(pi map[string]interface{}, key string) (provider *Provid } allKeys := append( - requiredKeys, - "logouturl", - "scope", + []string{ + "logouturl", + "scope", + }, + requiredKeys..., ) for _, configKey := range allKeys {