Skip to content

Commit

Permalink
samesite lax
Browse files Browse the repository at this point in the history
  • Loading branch information
peterphanouvong committed Aug 29, 2023
1 parent f0bf238 commit f703729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/pageRouter/callback.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const callback = async (req, res) => {
cookie.serialize(`kinde_token`, JSON.stringify(data), {
httpOnly: true,
expires: new Date(accessTokenPayload.exp * 1000),
sameSite: 'strict',
sameSite: 'lax',
secure: true,
path: '/'
})
Expand Down

0 comments on commit f703729

Please sign in to comment.