Files
axum-oidc-hello/Cargo.toml
T
Opencode Agent 69dcd84d0b Add oidc-provider-mock dev setup with docker-compose and dotenvy
- 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
2026-07-30 23:23:59 +00:00

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"