mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
config: use getters for authenticate, signout and forward auth urls (#2000)
This commit is contained in:
parent
1febaa82ff
commit
3690a32855
23 changed files with 152 additions and 136 deletions
|
@ -274,7 +274,7 @@ func TestAuthenticate_SignOut(t *testing.T) {
|
|||
}
|
||||
if tt.signoutRedirectURL != "" {
|
||||
opts := a.options.Load()
|
||||
opts.SignOutRedirectURL, _ = url.Parse(tt.signoutRedirectURL)
|
||||
opts.SignOutRedirectURLString = tt.signoutRedirectURL
|
||||
a.options.Store(opts)
|
||||
}
|
||||
a.provider.Store(tt.provider)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue