Skip to content

Commit

Permalink
Add CookieSameSite to README.md (appleboy#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
masibw authored Mar 9, 2021
1 parent 664602f commit 11cd371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ Use these options for setting the JWT in a cookie. See the Mozilla [documentatio
CookieDomain: "localhost:8080",
CookieName: "token", // default jwt
TokenLookup: "cookie:token",
CookieSameSite: http.SameSiteDefaultMode, //SameSiteDefaultMode, SameSiteLaxMode, SameSiteStrictMode, SameSiteNoneMode
```

### Login request flow (using the LoginHandler)
Expand Down

0 comments on commit 11cd371

Please sign in to comment.