mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(config): 🐛 Fix crashes with default config values
This commit is contained in:
parent
edbe6e45b2
commit
b7f8f6689e
2 changed files with 2 additions and 4 deletions
|
|
@ -54,8 +54,6 @@ forced = false
|
|||
# Overriden by the signups.registration setting
|
||||
allow_registration = true
|
||||
|
||||
# Delete this section if you don't want to use custom OAuth providers
|
||||
# This is an example configuration
|
||||
# The provider MUST support OpenID Connect with .well-known discovery
|
||||
# Most notably, GitHub does not support this
|
||||
# Redirect URLs in your OAuth provider can be set to this:
|
||||
|
|
@ -63,7 +61,7 @@ allow_registration = true
|
|||
# The asterisk is important, as it allows for any query parameters to be passed
|
||||
# Authentik for example uses regex so it can be set to (regex):
|
||||
# <base_url>/oauth/sso/<provider_id>/callback.*
|
||||
[[oidc.providers]]
|
||||
# [[oidc.providers]]
|
||||
# name = "CPlusPatch ID"
|
||||
# id = "cpluspatch-id"
|
||||
# This MUST match the provider's issuer URI, including the trailing slash (or lack thereof)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue