mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
config: add cookie_same_site option (#4148)
This commit is contained in:
parent
facf9ab093
commit
be0104b842
22 changed files with 562 additions and 423 deletions
|
@ -101,6 +101,7 @@ func newAuthenticateStateFromConfig(cfg *config.Config) (*authenticateState, err
|
|||
Secure: cfg.Options.CookieSecure,
|
||||
HTTPOnly: cfg.Options.CookieHTTPOnly,
|
||||
Expire: cfg.Options.CookieExpire,
|
||||
SameSite: cfg.Options.GetCookieSameSite(),
|
||||
}
|
||||
}, state.sharedEncoder)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue