feat: Allow configuring the OAuth compatibility mode

This commit is contained in:
Ginger committed 2026-06-16 12:50:43 -04:00
1 parent c2c841b8c7
commit 25144ecceb
12 files changed
+122 -25

No files matched your search

+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"