Files
authentik/tests/e2e/proxy_forward_auth/traefik_single/config-static.yaml
Jens L. baa4deda99 tests/e2e: WebAuthn E2E tests (#14461)
* a start of webauthn testing

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* separate file, just do it via localhost

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* remove unneeded stuff

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add auth and sfe tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* auto select device challenge if only 1

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* revert a thing

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2025-06-07 09:31:16 +02:00

59 lines
1.4 KiB
YAML

# yaml-language-server: $schema=https://json.schemastore.org/traefik-v3.json
api:
insecure: true
debug: true
log:
level: debug
accessLog:
filePath: /dev/stdout
entryPoints:
web:
address: ":80"
# Reuse the same config file to define everything
providers:
file:
filename: /etc/traefik/traefik.yml
http:
middlewares:
authentik:
forwardAuth:
address: http://ak-test-outpost:9000/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-entitlements
- X-authentik-email
- X-authentik-name
- X-authentik-uid
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version
routers:
default-router:
rule: "Host(`localhost`)"
middlewares:
- authentik
priority: 10
service: app
default-router-auth:
rule: "Host(`localhost`) && PathPrefix(`/outpost.goauthentik.io/`)"
priority: 15
service: authentik
services:
app:
loadBalancer:
servers:
- url: http://ak-whoami
authentik:
loadBalancer:
servers:
- url: http://ak-test-outpost:9000/outpost.goauthentik.io