Skip to content

Commit

Permalink
v1.x: Change example app cookies to use SameSite=Lax (#360)
Browse files Browse the repository at this point in the history
* Support default credentials for Firebase Admin

* Update README.md

* Change example app cookies to use SameSite=Lax

Co-authored-by: Scott Prue <prescottprue@users.noreply.github.com>
  • Loading branch information
kmjennison and prescottprue authored Dec 10, 2021
1 parent 943e221 commit c6c950f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/utils/initAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const initAuth = () => {
maxAge: TWELVE_DAYS_IN_MS,
overwrite: true,
path: '/',
sameSite: 'strict',
sameSite: 'lax',
secure: process.env.NEXT_PUBLIC_COOKIE_SECURE === 'true',
signed: true,
},
Expand Down

0 comments on commit c6c950f

Please # to comment.