mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
fix connectivity test
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@@ -47,6 +47,7 @@ class TestProviderProxy(SeleniumTestCase):
|
||||
for provider in outpost.providers.all():
|
||||
provider.external_host = f"http://localhost{self.outpost_port}",
|
||||
provider.save()
|
||||
container.restart()
|
||||
|
||||
@retry()
|
||||
@apply_blueprint(
|
||||
@@ -238,7 +239,7 @@ class TestProviderProxyConnect(ChannelsE2ETestCase):
|
||||
slug="default-provider-authorization-implicit-consent"
|
||||
),
|
||||
internal_host="http://localhost",
|
||||
external_host=f"http://localhost{self.outpost_port}",
|
||||
external_host="http://localhost:9000",
|
||||
)
|
||||
# Ensure OAuth2 Params are set
|
||||
proxy.set_oauth_defaults()
|
||||
@@ -256,9 +257,6 @@ class TestProviderProxyConnect(ChannelsE2ETestCase):
|
||||
|
||||
self.run_container(
|
||||
image=self.get_container_image("ghcr.io/goauthentik/dev-proxy"),
|
||||
ports={
|
||||
"9000": "9000",
|
||||
},
|
||||
environment={
|
||||
"AUTHENTIK_TOKEN": outpost.token.key,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user