Skip to content

Commit

Permalink
chore: add same site attribute to the device trust cookie (#2006)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoern-m authored Dec 13, 2024
1 parent 3961837 commit 80680a2
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 80680a2

Please sign in to comment.