Introduce an environment variable to control user creation in OIDC authentication, closes #47

This commit is contained in:
yu-i-i
2026-07-17 17:56:46 +02:00
parent fdaed06adc
commit 71c76e10d6
4 changed files with 12 additions and 8 deletions
@@ -53,7 +53,7 @@ const Features = {
case 'registration-page':
return (
!Features.externalAuthenticationSystemUsed() ||
Boolean(Settings.overleaf)
Boolean(Settings.overleaf) || Settings.oidc?.disableJITAccountCreation
)
case 'registration':
return Boolean(Settings.overleaf)