mirror of
https://github.com/CloudNebulaProject/barycenter.git
synced 2026-04-10 21:20:41 +00:00
Barycenter is an OpenID Connect Identity Provider (IdP) implementing OAuth 2.0 Authorization Code flow with PKCE. Written in Rust using axum, SeaORM, and josekit. Features: - Authorization Code flow with PKCE (S256) - Dynamic client registration - Token endpoint with multiple auth methods - ID Token signing (RS256) - UserInfo endpoint - Discovery and JWKS publication 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
298 B
TOML
16 lines
298 B
TOML
[server]
|
|
host = "0.0.0.0"
|
|
port = 8080
|
|
# Uncomment for production with HTTPS:
|
|
# public_base_url = "https://idp.example.com"
|
|
|
|
[database]
|
|
url = "sqlite://crabidp.db?mode=rwc"
|
|
|
|
[keys]
|
|
jwks_path = "data/jwks.json"
|
|
private_key_path = "data/private_key.pem"
|
|
alg = "RS256"
|
|
|
|
[federation]
|
|
trust_anchors = []
|