mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
config: default to authenticate.pomerium.app when authenticate url is not specified (#4132)
This commit is contained in:
parent
ab55a6c7c8
commit
498bc82e81
3 changed files with 7 additions and 0 deletions
|
@ -297,6 +297,7 @@ func TestOptionsFromViper(t *testing.T) {
|
|||
CookieSecure: true,
|
||||
InsecureServer: true,
|
||||
CookieHTTPOnly: true,
|
||||
AuthenticateURLString: "https://authenticate.pomerium.app",
|
||||
AuthenticateCallbackPath: "/oauth2/callback",
|
||||
DataBrokerStorageType: "memory",
|
||||
EnvoyAdminAccessLogPath: os.DevNull,
|
||||
|
@ -310,6 +311,7 @@ func TestOptionsFromViper(t *testing.T) {
|
|||
&Options{
|
||||
Policies: []Policy{{From: "https://from.example", To: mustParseWeightedURLs(t, "https://to.example")}},
|
||||
CookieName: "_pomerium",
|
||||
AuthenticateURLString: "https://authenticate.pomerium.app",
|
||||
AuthenticateCallbackPath: "/oauth2/callback",
|
||||
CookieSecure: true,
|
||||
CookieHTTPOnly: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue