diff --git a/security/oidc.go b/security/oidc.go index 72bc077e..c854d134 100644 --- a/security/oidc.go +++ b/security/oidc.go @@ -124,7 +124,7 @@ func (c *OIDCConfig) callbackHandler(w http.ResponseWriter, r *http.Request) { } } log.Printf("[security][callbackHandler] Subject %s is not in the list of allowed subjects", idToken.Subject) - http.Redirect(w, r, "/login?error=access_denied", http.StatusFound) + http.Redirect(w, r, "/?error=access_denied", http.StatusFound) } func (c *OIDCConfig) setSessionCookie(w http.ResponseWriter, idToken *oidc.IDToken) { diff --git a/web/app/src/App.vue b/web/app/src/App.vue index deece065..9cd66ae3 100644 --- a/web/app/src/App.vue +++ b/web/app/src/App.vue @@ -11,6 +11,12 @@ +