feat(api): Automatically register user when connecting with OIDC profile not already existing

This commit is contained in:
Jesse Wierzbinski 2024-06-13 23:05:04 -10:00
parent 70a669a29c
commit 99f14ba114
No known key found for this signature in database
6 changed files with 99 additions and 26 deletions

View file

@ -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