Skip to content

Commit

Permalink
chore: add same site attribute to the device trust cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoern-m committed Dec 13, 2024
1 parent 3961837 commit 72911e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func (h IssueTrustDeviceCookie) Execute(c flowpilot.HookExecutionContext) error
cookie.HttpOnly = true
cookie.Secure = true
cookie.MaxAge = maxAge
cookie.SameSite = http.SameSiteNoneMode

deps.HttpContext.SetCookie(cookie)

Expand Down

0 comments on commit 72911e4

Please sign in to comment.