feat: Allow configuring the OAuth compatibility mode

This commit is contained in:
Ginger
2026-05-01 10:57:44 -04:00
parent 81388162f0
commit 4bbbbb854e
12 changed files with 122 additions and 25 deletions
+13
View File
@@ -1987,3 +1987,16 @@
# `require_email_for_registration`.
#
#require_email_for_token_registration = false
#[global.oauth]
# The compatibility mode to use for OAuth.
#
# - "disabled": OAuth will be unavailable. Users will only be able to log
# in using legacy authentication.
# - "hybrid": OAuth and legacy authentication will both be available. Some
# clients may only use one or the other.
# - "exclusive": Only OAuth will be available. Clients which require
# legacy authentication will be unable to log in.
#
#compatibility_mode = "hybrid"