SSO: enable api_url validator for azuread (#85967)

enable api_url validator for azuread
pull/88101/head
Mihai Doarna 2 years ago committed by GitHub
parent 295b31ccd7
commit 860dd7f58b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      pkg/login/social/connectors/azuread_oauth.go

@ -204,8 +204,7 @@ func (s *SocialAzureAD) Validate(ctx context.Context, settings ssoModels.SSOSett
return validation.Validate(info, requester,
validateAllowedGroups,
// FIXME: uncomment this after the Terraform provider is updated
//validation.MustBeEmptyValidator(info.ApiUrl, "API URL"),
validation.MustBeEmptyValidator(info.ApiUrl, "API URL"),
validation.RequiredUrlValidator(info.AuthUrl, "Auth URL"),
validation.RequiredUrlValidator(info.TokenUrl, "Token URL"))
}

Loading…
Cancel
Save