mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-29 00:47:17 +02:00
internal/sessions: make user state domain scoped
internal/sessions: session state is domain scoped internal/sessions: infer csrf cookie, route scoped proxy & authenticate: use shared cookie name proxy & authenticate: prevent resaving unchanged session proxy & authenticate: redirect instead of error for no session on login internal/config: merge cookies proxy: remove favicon specific route proxy: use mock server for tests proxy: add tests for failures
This commit is contained in:
parent
2eb2eb0620
commit
3eff6cce13
12 changed files with 231 additions and 348 deletions
|
@ -68,7 +68,7 @@ func New(opts *config.Options) (*Authenticate, error) {
|
|||
}
|
||||
cookieStore, err := sessions.NewCookieStore(
|
||||
&sessions.CookieStoreOptions{
|
||||
Name: opts.AuthenticateCookieName,
|
||||
Name: opts.CookieName,
|
||||
CookieSecure: opts.CookieSecure,
|
||||
CookieHTTPOnly: opts.CookieHTTPOnly,
|
||||
CookieExpire: opts.CookieExpire,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue