fix: new getopenidurl arguments
This commit is contained in:
@@ -1312,8 +1312,10 @@ func checkAdminLogin(resp http.ResponseWriter, request *http.Request) {
|
|||||||
|
|
||||||
// Should run calculations
|
// Should run calculations
|
||||||
if len(org.SSOConfig.OpenIdAuthorization) > 0 {
|
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
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user