fix: new getopenidurl arguments

This commit is contained in:
yashsinghcodes
2025-12-11 15:08:56 +05:30
parent 07c0ccc9e2
commit 380abba765
+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
}