redirect-url not same for login and logout

This commit is contained in:
2025-02-24 03:14:36 -06:00
parent 301b036f3c
commit d587e97dbe
4 changed files with 98 additions and 2 deletions

View File

@ -116,6 +116,7 @@ func CallbackHandler(config *AuthConfig) http.HandlerFunc {
// Authenticate session
session.Values["authenticated"] = true
// session.Values["id_token"] = rawIDToken
session.Save(r, w)
http.Redirect(w, r, "/", http.StatusFound)
}