Skip to content

Commit

Permalink
Update documentation for split cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyPasco committed Nov 23, 2021
1 parent 3bd5ec8 commit f63a68e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/doc/1-configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ set_cookies:
### Automatically generating split cookies
You are also able to automatically generate split cookies. Benefits of this approach are in [this post](https://medium.com/lightrail/getting-token-authentication-right-in-a-stateless-single-page-application-57d0c6474e3).
Set the signature cookie (jwt_s) lifetime to 0 to create session cookies.
Keep in mind, that SameSite attribute is **not supported** in [some browsers](https://caniuse.com/#feat=same-site-cookie-attribute)
```
Expand All @@ -138,7 +140,7 @@ set_cookies:
- payload

jwt_s:
lifetime: null
lifetime: 0
samesite: strict
path: /
domain: null
Expand Down

0 comments on commit f63a68e

Please sign in to comment.