Adds a new is_oauth_registration_enabled setting so administrators can allow OAuth-based self-registration while keeping general (password-based) registration disabled. Closes #8042.
Re-submitted after addressing Copilot review (null-safe default in mount()).
is_oauth_registration_enabled boolean column to instance_settings (default: false)is_registration_enabled OR is_oauth_registration_enabled is true?? false), validation rule, mount/save logic| General Registration | OAuth Registration | Result |
|---|---|---|
| Enabled | Any | Anyone can register (password + OAuth) |
| Disabled | Enabled | Only OAuth users can self-register |
| Disabled | Disabled | No self-registration (admin creates accounts) |
Existing OAuth users can always log in regardless — these settings only affect new account creation.
/claim #8042
Guillem Prada Torres
@GPradaT
Kewyn Ferreira
@kewynf