Skip to content

feat: OAuth independent registration#8846

Open
wehub4me wants to merge 3 commits intocoollabsio:nextfrom
wehub4me:feature/oauth-independent-registration-next
Open

feat: OAuth independent registration#8846
wehub4me wants to merge 3 commits intocoollabsio:nextfrom
wehub4me:feature/oauth-independent-registration-next

Conversation

@wehub4me
Copy link

Summary

Implements #8042 - OAuth independent registration functionality.

Changes

  • Add oauth_registration_enabled setting to allow OAuth users to register even when general registration is disabled
  • Add oauth_only setting to restrict users to OAuth-only authentication
  • Add oauth_only field to users table to mark OAuth-only users
  • Update OauthController to respect new settings
  • Add UI controls in Advanced settings for admin configuration

Issues

Category

  • Feature

AI Assistance

  • I used AI assistance in this PR

Testing

  • Tested OAuth registration logic
  • Tested OAuth-only enforcement

Contributor Agreement

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have searched existing issues and pull requests (including closed ones) to ensure this isn't a duplicate.
  • I have tested all the changes thoroughly with a local development instance of Coolify and I am confident that they will work as expected when a maintainer tests them.

Heyang Gong added 3 commits March 10, 2026 08:16
- Add oauth_registration_enabled setting to allow OAuth users to register
  even when general registration is disabled
- Add oauth_only setting to restrict users to OAuth-only authentication
- Add oauth_only field to users table to mark OAuth-only users
- Update OauthController to respect new settings
- Add UI controls in Advanced settings for admin configuration

Closes coollabsio#8042
- Fix migration dates from 2025 to 2026
- Add OAuth-only enforcement in Fortify authentication
- Prevent OAuth-only users from resetting passwords
- Prevent OAuth-only users from updating passwords
…tead of exceptions

- Add global instanceSettings()->oauth_only check in FortifyServiceProvider
- ResetUserPassword: Use ValidationException instead of Exception, add global check
- UpdateUserPassword: Use ValidationException instead of Exception, add global check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant