diff --git a/backend/go-app/main.go b/backend/go-app/main.go index e6d2def0..a8847f9f 100755 --- a/backend/go-app/main.go +++ b/backend/go-app/main.go @@ -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 }