diff --git a/blueprints/testing/oidc-conformance.yaml b/blueprints/testing/oidc-conformance.yaml index 380b1a7feb..fdc3814e5c 100644 --- a/blueprints/testing/oidc-conformance.yaml +++ b/blueprints/testing/oidc-conformance.yaml @@ -44,8 +44,7 @@ entries: - matching_mode: strict url: https://localhost:8443/test/a/authentik/callback - matching_mode: strict - url: https://10.120.20.76:8443/test/a/authentik/callback - # url: !Format [https://%s:8443/test/a/authentik/callback, !Context host_ip] + url: https://host.docker.internal:8443/test/a/authentik/callback property_mappings: - !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-openid]] - !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-email]] @@ -74,8 +73,7 @@ entries: - matching_mode: strict url: https://localhost:8443/test/a/authentik/callback - matching_mode: strict - url: https://10.120.20.76:8443/test/a/authentik/callback - # url: !Format [https://%s:8443/test/a/authentik/callback, !Context host_ip] + url: https://host.docker.internal:8443/test/a/authentik/callback property_mappings: - !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-openid]] - !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-email]] diff --git a/tests/openid_conformance/compose.yml b/tests/openid_conformance/compose.yml index 255e70d859..71cc0bca14 100644 --- a/tests/openid_conformance/compose.yml +++ b/tests/openid_conformance/compose.yml @@ -14,13 +14,15 @@ services: image: ghcr.io/beryju/oidc-conformance-suite-server:v5.1.32 ports: - "9999:9999" + extra_hosts: + - "host.docker.internal:host-gateway" command: > java -Xdebug -Xrunjdwp:transport=dt_socket,address=*:9999,server=y,suspend=n -jar /server/fapi-test-suite.jar -Djdk.tls.maxHandshakeMessageSize=65536 - --fintechlabs.base_url=https://10.120.20.76:8443 - --fintechlabs.base_mtls_url=https://localhost.emobix.co.uk:8444 + --fintechlabs.base_url=https://host.docker.internal:8443 + --fintechlabs.base_mtls_url=https://host.docker.internal:8444 --fintechlabs.devmode=true --fintechlabs.startredir=true links: