Merge pull request #1901 from yashsinghcodes/nightly

Fix: OpenIdUrl functions arguments
This commit is contained in:
Yash Singh
2025-12-11 15:10:41 +05:30
committed by GitHub
+4 -2
View File
@@ -1312,8 +1312,10 @@ func checkAdminLogin(resp http.ResponseWriter, request *http.Request) {
// Should run calculations
if len(org.SSOConfig.OpenIdAuthorization) > 0 {
baseSSOUrl = shuffle.GetOpenIdUrl(request, *org)
baseSSOUrl, err = shuffle.GetOpenIdUrl(request, *org, user, "login")
if err != nil {
log.Printf("[ERROR] Failed getting OpenID URL for org %s: %s", org.Name, err)
}
break
}