mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(api): ✨ Automatically register user when connecting with OIDC profile not already existing
This commit is contained in:
parent
70a669a29c
commit
99f14ba114
6 changed files with 99 additions and 26 deletions
|
|
@ -48,11 +48,12 @@ rules = [
|
|||
jwt_key = ""
|
||||
|
||||
# If enabled, Lysand will require users to log in with an OAuth provider
|
||||
# Note that registering with an OAuth provider is not supported yet, so
|
||||
# this will lock out users who are not already registered or who do not have
|
||||
# an OAuth account linked
|
||||
forced = false
|
||||
|
||||
# Allow registration with OAuth providers
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue