mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-21 03:58:07 +02:00
remove forward auth (#3628)
This commit is contained in:
parent
ba07afc245
commit
fa26587f19
68 changed files with 302 additions and 5072 deletions
|
@ -82,7 +82,6 @@ func Test_buildPomeriumHTTPRoutes(t *testing.T) {
|
|||
Services: "all",
|
||||
AuthenticateURLString: "https://authenticate.example.com",
|
||||
AuthenticateCallbackPath: "/oauth2/callback",
|
||||
ForwardAuthURLString: "https://forward-auth.example.com",
|
||||
}
|
||||
routes, err := b.buildPomeriumHTTPRoutes(options, "authenticate.example.com")
|
||||
require.NoError(t, err)
|
||||
|
@ -116,7 +115,6 @@ func Test_buildPomeriumHTTPRoutes(t *testing.T) {
|
|||
Services: "all",
|
||||
AuthenticateURLString: "https://authenticate.example.com",
|
||||
AuthenticateCallbackPath: "/oauth2/callback",
|
||||
ForwardAuthURLString: "https://forward-auth.example.com",
|
||||
Policies: []config.Policy{{
|
||||
From: "https://from.example.com",
|
||||
To: mustParseWeightedURLs(t, "https://to.example.com"),
|
||||
|
@ -143,7 +141,6 @@ func Test_buildPomeriumHTTPRoutes(t *testing.T) {
|
|||
Services: "all",
|
||||
AuthenticateURLString: "https://authenticate.example.com",
|
||||
AuthenticateCallbackPath: "/oauth2/callback",
|
||||
ForwardAuthURLString: "https://forward-auth.example.com",
|
||||
Policies: []config.Policy{{
|
||||
From: "https://from.example.com",
|
||||
To: mustParseWeightedURLs(t, "https://to.example.com"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue