From bc317cfcd1b17bad5273cf01f44853dc9eb9b262 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 7 Nov 2023 19:29:19 +0000 Subject: OIDC: Redirect to user home page after successful authentication --- internal/ui/oauth2_callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/ui/oauth2_callback.go') diff --git a/internal/ui/oauth2_callback.go b/internal/ui/oauth2_callback.go index 4810afab..cf223da8 100644 --- a/internal/ui/oauth2_callback.go +++ b/internal/ui/oauth2_callback.go @@ -149,5 +149,5 @@ func (h *handler) oauth2Callback(w http.ResponseWriter, r *http.Request) { config.Opts.BasePath(), )) - html.Redirect(w, r, route.Path(h.router, "unread")) + html.Redirect(w, r, route.Path(h.router, user.DefaultHomePage)) } -- cgit v1.2.3