Private
Public Access
1
0
Files
linux_patch_manager/Cargo.toml
Echo 69d2e88bbd
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 52s
CI Pipeline / Rust Unit Tests (push) Successful in 1m11s
CI Pipeline / Security Audit (push) Successful in 5s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 15s
CI Pipeline / Build .deb & Release (push) Has been skipped
feat: OIDC SSO provider support (Keycloak, Azure AD, custom)
- Refactored azure_sso.rs to sso.rs with generic OIDC provider support
- Added OIDC discovery URL lookup with 1hr TTL caching
- Added PKCE for all providers, client_secret optional for public clients
- Added /api/v1/auth/sso/login and /api/v1/auth/sso/callback routes
- Added /api/v1/auth/azure/* backward-compatible routes
- Added POST /settings/sso/discover and POST /settings/sso/test endpoints
- Frontend: Provider dropdown (Keycloak/Azure AD/Custom OIDC)
- Frontend: Auto-fill discovery URL for Keycloak
- Frontend: Discover Endpoints and Test Connection buttons
- Frontend: Dynamic SSO button based on provider display name
- Made migration 014 idempotent with DO blocks and IF NOT EXISTS
- Fixed debian/install to use /usr/local/bin/ for binaries
- Fixed frontend file path in .deb package
- Reset admin password on dev server
- Fixed database permissions for oidc_config table
2026-05-13 13:32:24 +00:00

83 lines
2.2 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/pm-web",
"crates/pm-worker",
"crates/pm-core",
"crates/pm-agent-client",
"crates/pm-auth",
"crates/pm-ca",
"crates/pm-reports",
]
[workspace.package]
version = "0.1.5"
edition = "2021"
authors = ["Echo <echo@moon-dragon.us>"]
license = "MIT"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Web framework
axum = { version = "0.8", features = ["ws", "macros"] }
axum-server = { version = "0.7", features = ["tls-rustls"] }
axum-extra = { version = "0.10", features = ["typed-header"] }
tower = { version = "0.5" }
tower-http = { version = "0.6", features = ["fs", "trace", "cors", "request-id"] }
# Database
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "macros", "migrate", "uuid", "chrono", "json"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
toml = { version = "0.8" }
# Error handling
thiserror = { version = "2" }
anyhow = { version = "1" }
# Logging / Tracing
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# UUID / ULID
uuid = { version = "1", features = ["v4", "serde"] }
ulid = { version = "1", features = ["serde"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# HTTP client
reqwest = { version = "0.12", features = ["rustls-tls", "json"] }
rustls = { version = "0.23", features = ["ring"] }
tokio-rustls = { version = "0.26" }
rustls-pemfile = { version = "2" }
# Certificate Authority
rcgen = { version = "0.13", features = ["pem", "x509-parser"] }
pem = { version = "3" }
time = { version = "0.3", features = ["std"] }
# Config
config = { version = "0.15" }
# Misc
bytes = { version = "1" }
futures = { version = "0.3" }
# Authentication & Security
argon2 = { version = "0.5", features = ["std"] }
jsonwebtoken = { version = "9" }
rand = { version = "0.8", features = ["std"] }
totp-rs = { version = "5", features = ["gen_secret", "otpauth"] }
base64 = { version = "0.22" }
hex = { version = "0.4" }
sha2 = { version = "0.10" }
aes-gcm = { version = "0.10" }
ipnet = { version = "2" }
url = { version = "2" }