Fixed build error after merge

- Fixed buid error in new merge for Oauth2
- Updated version no.
- Optimized css in sso page
This commit is contained in:
Toby Chui
2025-06-07 12:20:09 +08:00
parent f0fa71c5b4
commit 0e74ff69c3
4 changed files with 6 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ func handleAuthProviderRouting(sep *ProxyEndpoint, w http.ResponseWriter, r *htt
h.Parent.Option.Logger.LogHTTPRequest(r, "host-http", 401, requestHostname, "")
return true
}
} else if sep.AuthenticationProvider.AuthMethod == AuthMethodOAuth2 {
case AuthMethodOauth2:
err := h.handleOAuth2Auth(w, r)
if err != nil {
h.Parent.Option.Logger.LogHTTPRequest(r, "host-http", 401, requestHostname, "")