- docker-compose.yml runs oidc-provider-mock on :9400 with predefined alice/bob users carrying preferred_username claims - .env auto-loaded via dotenvy for zero-config local dev - index route now redirects unauthenticated users to the login flow instead of returning 401
15 lines
330 B
TOML
15 lines
330 B
TOML
[package]
|
|
name = "axum-oidc-hello"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
axum-oidc-client = { version = "0.5", features = ["sql-cache-sqlite"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
base64 = "0.22"
|
|
anyhow = "1"
|
|
dotenvy = "0.15"
|