tests/e2e: add forward auth e2e test (#11374)
* add nginx forward_auth e2e tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add envoy Signed-off-by: Jens Langhammer <jens@goauthentik.io> * cleanup Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove even more duplicate code Signed-off-by: Jens Langhammer <jens@goauthentik.io> * cleanup more Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add traefik static config Signed-off-by: Jens Langhammer <jens@goauthentik.io> * more cleanup, don't generate dex config cause they support env variables Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use default dex entrypoint to use templating Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove options that are always set as default Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix compose flag Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add caddy Signed-off-by: Jens Langhammer <jens@goauthentik.io> * merge python files Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use whoami api to check better Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix envoy config Signed-off-by: Jens Langhammer <jens@goauthentik.io> * set invalidation flow Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix logout checks Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
23
tests/e2e/sources_oauth2_dex/dex.yaml
Normal file
23
tests/e2e/sources_oauth2_dex/dex.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
enablePasswordDB: true
|
||||
issuer: http://127.0.0.1:5556/dex
|
||||
logger:
|
||||
level: debug
|
||||
staticClients:
|
||||
- id: example-app
|
||||
name: Example App
|
||||
redirectURIs:
|
||||
- {{ .Env.AK_REDIRECT_URL }}
|
||||
secret: {{ .Env.AK_CLIENT_SECRET }}
|
||||
staticPasswords:
|
||||
- email: admin@example.com
|
||||
# hash for 'password', for testing
|
||||
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
||||
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
|
||||
username: admin
|
||||
storage:
|
||||
config:
|
||||
file: "/tmp/dex.db"
|
||||
type: sqlite3
|
||||
web:
|
||||
http: 0.0.0.0:5556
|
||||
Reference in New Issue
Block a user