From 0106c7f7faad8e4fd1319c8e5be2d917d3673d0f Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Fri, 27 Oct 2023 17:03:37 +0800 Subject: [PATCH] Fix GetIdProvider() bug --- idp/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)