fix: fix AAD single-tenant mode bug

This commit is contained in:
Gucheng Wang
2023-03-31 19:24:03 +08:00
parent 8d1ae4ea08
commit 8eb68ba817
2 changed files with 8 additions and 3 deletions

View File

@ -90,7 +90,7 @@ func GetIdProvider(typ string, subType string, clientId string, clientSecret str
} else if typ == "Douyin" {
return NewDouyinIdProvider(clientId, clientSecret, redirectUrl)
} else if isGothSupport(typ) {
return NewGothIdProvider(typ, clientId, clientSecret, redirectUrl)
return NewGothIdProvider(typ, clientId, clientSecret, redirectUrl, hostUrl)
} else if typ == "Bilibili" {
return NewBilibiliIdProvider(clientId, clientSecret, redirectUrl)
}