diff --git a/idp/provider.go b/idp/provider.go index ad9d674f..dbcca0df 100644 --- a/idp/provider.go +++ b/idp/provider.go @@ -85,7 +85,7 @@ func GetIdProvider(idpInfo *ProviderInfo, redirectUrl string) IdProvider { return NewLarkIdProvider(idpInfo.ClientId, idpInfo.ClientSecret, redirectUrl) case "GitLab": return NewGitlabIdProvider(idpInfo.ClientId, idpInfo.ClientSecret, redirectUrl) - case "Adfs": + case "ADFS": return NewAdfsIdProvider(idpInfo.ClientId, idpInfo.ClientSecret, redirectUrl, idpInfo.HostUrl) case "Baidu": return NewBaiduIdProvider(idpInfo.ClientId, idpInfo.ClientSecret, redirectUrl)