feat(sso/proxy): implement login handler

This commit is contained in:
Trong Huu Nguyen
2023-02-03 14:01:38 +01:00
parent c3c0c01926
commit 1fdbe75c9e
6 changed files with 145 additions and 24 deletions

View File

@@ -75,7 +75,7 @@ func (h Handler) Retry(r *http.Request, loginCookie *openid.LoginCookie) string
redirect = loginCookie.Referer
}
return urlpkg.LoginURL(ingressPath, redirect)
return urlpkg.LoginRelative(ingressPath, redirect)
}
func (h Handler) respondError(w http.ResponseWriter, r *http.Request, statusCode int, cause error, level log.Level) {