1
0
forked from wrenn/wrenn

v0.1.4 (#38) — pipeline test

This commit is contained in:
Tasnim Kabir Sadik
2026-05-02 22:41:35 +06:00
parent 4fcc19e91f
commit 892ae7c6b6
27 changed files with 629 additions and 437 deletions

View File

@ -404,10 +404,10 @@ func (h *meHandler) ConnectProvider(w http.ResponseWriter, r *http.Request) {
return
}
mac := computeHMAC(h.jwtSecret, state+":"+"login")
mac := computeHMAC(h.jwtSecret, state)
http.SetCookie(w, &http.Cookie{
Name: "oauth_state",
Value: state + ":" + mac + ":" + "login",
Value: state + ":" + mac,
Path: "/",
MaxAge: 600,
HttpOnly: true,