Skip to content

Commit

Permalink
fix: user identity cookie max age (#1316)
Browse files Browse the repository at this point in the history
Signed-off-by: jyu6 <[email protected]>
  • Loading branch information
jy4096 authored Nov 1, 2023
1 parent 6246761 commit 91b0eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/apis/v1/dexauthn.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (d *DexObject) handleCallback(c *gin.Context) {
return
}
for _, cookie := range cookies {
c.SetCookie(cookie.Key, cookie.Value, common.StateCookieMaxAge, "/", "", true, true)
c.SetCookie(cookie.Key, cookie.Value, common.UserIdentityCookieMaxAge, "/", "", true, true)
}
c.JSON(http.StatusOK, NewNumaflowAPIResponse(nil, res))
}
Expand Down

0 comments on commit 91b0eff

Please sign in to comment.