Replace test OIDC provider
This commit is contained in:
parent
044b7d0de4
commit
48e9c1d42f
@ -1,9 +1,8 @@
|
||||
services:
|
||||
oidc:
|
||||
image: qlik/simple-oidc-provider
|
||||
environment:
|
||||
- REDIRECTS=http://localhost:3000/oidc_cb,http://localhost:5173/oidc_cb
|
||||
- PORT=9001
|
||||
image: dexidp/dex
|
||||
ports:
|
||||
- 9001:9001
|
||||
|
||||
- 9001:9001
|
||||
volumes:
|
||||
- ./docker/dex:/conf:ro
|
||||
command: [ "dex", "serve", "/conf/dex.config.yaml" ]
|
26
virtweb_backend/docker/dex/dex.config.yaml
Normal file
26
virtweb_backend/docker/dex/dex.config.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
issuer: http://127.0.0.1:9001/dex
|
||||
|
||||
storage:
|
||||
type: memory
|
||||
|
||||
web:
|
||||
http: 0.0.0.0:9001
|
||||
|
||||
oauth2:
|
||||
# Automate some clicking
|
||||
# Note: this might actually make some tests pass that otherwise wouldn't.
|
||||
skipApprovalScreen: false
|
||||
|
||||
connectors:
|
||||
# Note: this might actually make some tests pass that otherwise wouldn't.
|
||||
- type: mockCallback
|
||||
id: mock
|
||||
name: Example
|
||||
|
||||
# Basic OP test suite requires two clients.
|
||||
staticClients:
|
||||
- id: foo
|
||||
secret: bar
|
||||
redirectURIs:
|
||||
- http://localhost:3000/oidc_cb
|
||||
name: Project
|
@ -68,7 +68,7 @@ pub struct AppConfig {
|
||||
#[arg(
|
||||
long,
|
||||
env,
|
||||
default_value = "http://localhost:9001/.well-known/openid-configuration"
|
||||
default_value = "http://localhost:9001/dex/.well-known/openid-configuration"
|
||||
)]
|
||||
pub oidc_configuration_url: String,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user