mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-24 21:48:23 +02:00
config: allow dynamic configuration of cookie settings (#1267)
This commit is contained in:
parent
0c51ad0e66
commit
fbf5b403b9
17 changed files with 184 additions and 165 deletions
|
@ -47,7 +47,7 @@ func TestProxy_ForwardAuth(t *testing.T) {
|
|||
opts := testOptions(t)
|
||||
tests := []struct {
|
||||
name string
|
||||
options config.Options
|
||||
options *config.Options
|
||||
ctxError error
|
||||
method string
|
||||
|
||||
|
@ -94,7 +94,7 @@ func TestProxy_ForwardAuth(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
p.encoder = signer
|
||||
p.UpdateOptions(tt.options)
|
||||
p.OnConfigChange(&config.Config{Options: tt.options})
|
||||
uri, err := url.Parse(tt.requestURI)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue