feat: Add OpenID Connect (OIDC) authentication support with new OIDC service, routes, and configuration.

This commit is contained in:
2026-01-06 02:43:23 +01:00
parent de09f98b6e
commit 5296171b85
9 changed files with 945 additions and 36 deletions

View File

@@ -19,6 +19,7 @@ postgres = [
]
broker-nats = ["dep:futures-util", "k-core/broker-nats"]
auth-axum-login = ["dep:axum-login", "dep:password-auth"]
auth-oidc = ["dep:openidconnect", "dep:url"]
[dependencies]
k-core = { git = "https://git.gabrielkaszewski.dev/GKaszewski/k-core", features = [
@@ -47,3 +48,6 @@ tower-sessions = "0.14"
# Auth dependencies (optional)
axum-login = { version = "0.18", optional = true }
password-auth = { version = "1.0", optional = true }
openidconnect = { version = "4.0.1", optional = true }
url = { version = "2.5.8", optional = true }
# reqwest = { version = "0.13.1", features = ["blocking", "json"], optional = true }