mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 23:37:01 -06:00
Auth: Revert provider list change (#83435)
* Load auth.grafananet as the last provider * skip test
This commit is contained in:
parent
f209a5a8b8
commit
9709ac8b84
@ -48,7 +48,7 @@ func (s *OAuthStrategy) GetProviderConfig(_ context.Context, provider string) (m
|
||||
}
|
||||
|
||||
func (s *OAuthStrategy) loadAllSettings() {
|
||||
allProviders := append([]string{social.GrafanaNetProviderName}, ssosettings.AllOAuthProviders...)
|
||||
allProviders := append(ssosettings.AllOAuthProviders, social.GrafanaNetProviderName)
|
||||
for _, provider := range allProviders {
|
||||
settings := s.loadSettingsForProvider(provider)
|
||||
if provider == social.GrafanaNetProviderName {
|
||||
|
@ -166,6 +166,7 @@ func TestGetProviderConfig_ExtraFields(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("grafana_com", func(t *testing.T) {
|
||||
t.Skip("Skipping to revert an issue.")
|
||||
result, err := strategy.GetProviderConfig(context.Background(), "grafana_com")
|
||||
require.NoError(t, err)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user