dev config

This commit is contained in:
Johan Lundberg 2026-06-29 09:23:33 +02:00
parent 8e8c33a407
commit aff22eb2f4
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1

29
porchlight.dev.toml Normal file
View file

@ -0,0 +1,29 @@
# Porchlight OIDC Provider Configuration
#
# Copy this file to porchlight.toml and edit to suit your deployment.
# Environment variables (OIDC_OP_*) override values set here.
# To use a different path: export OIDC_OP_CONFIG_FILE=/path/to/config.toml
issuer = "https://auth.example.com"
# debug = false
# session_secret = "generate-a-random-string-here"
# sqlite_path = "data/oidc_op.db"
# signing_key_path = "data/keys"
# invite_ttl = 86400
# Register OIDC Relying Party clients below.
# Each [clients.<client-id>] section defines one client.
# [clients.my-webapp]
# client_secret = "change-me-to-a-long-random-string"
# redirect_uris = ["https://app.example.com/callback"]
# response_types = ["code"]
# scope = ["openid", "profile", "email"]
# token_endpoint_auth_method = "client_secret_basic"
[clients.showcase-rp]
client_secret = "client-secret-in-dev"
redirect_uris = ["http://localhost:9000/callback"]
response_types = ["code"]
scope = ["openid", "profile", "email", "offline_access"]
token_endpoint_auth_method = "client_secret_basic"