docs: add example config file and update README
This commit is contained in:
parent
eeb09321e2
commit
8c91edf137
2 changed files with 59 additions and 1 deletions
23
porchlight.example.toml
Normal file
23
porchlight.example.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue