Skip to content

Commit

Permalink
Added a note about cookie settings for browser clients (haskell-serva…
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC authored Apr 30, 2024
1 parent a570d2b commit 752e768
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ main = do
Warp.runSettings settings $ warpLogger $ mkApp cfg cookieCfg jwtCfg ctx
```
**Note for browser clients**: default cookie settings (`defaultCookieSettings`) may not be suitable for
browser clients due to [XSRF protection](https://github.com/haskell-servant/servant/tree/master/servant-auth#xsrf-and-the-frontend).
## Usage
Expand Down

0 comments on commit 752e768

Please sign in to comment.