refactor: change cookie name

This commit is contained in:
2024-11-08 18:19:26 +01:00
parent bd20895306
commit 2012ac69a3
2 changed files with 2 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ func (oauth *OauthRulerMiddleware) callbackHandler(w http.ResponseWriter, r *htt
}
// Save token to a cookie for simplicity
http.SetCookie(w, &http.Cookie{
Name: "goma.JWT",
Name: "goma.oauth",
Value: jwtToken,
Path: oauth.CookiePath,
})