Commit graph

9 commits

Author SHA1 Message Date
Andras Bacsai
b1a68df65c fix: add null checks and validation to OAuth bulk update method
- Add null check before updating OAuth settings to prevent calling methods on null
- Apply couldBeEnabled() validation for all settings in bulk update (not just instant save)
- Disable OAuth providers that fail validation and collect error messages
- Surface all validation errors to the user instead of silently failing
- Update oauth_settings_map with fresh data after saving each setting

This ensures bulk updates follow the same validation logic as instant-save paths
and prevents bypassing model validation by directly calling update.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 17:04:33 +01:00
Andras Bacsai
8a3dc19d19 Update app/Livewire/SettingsOauth.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-27 17:03:19 +01:00
Andras Bacsai
1ab4b9aa31 refactor: simplify project data retrieval and enhance OAuth settings handling 2025-10-27 17:03:19 +01:00
Andras Bacsai
e822749db3 fix: saving oauth 2024-12-13 12:35:57 +01:00
Andras Bacsai
4901b12279 fix: service status indicator + oauth saving 2024-12-13 12:03:10 +01:00
🏔️ Peak
d9aefae207
Merge branch 'next' into feature/authentik-provider 2024-12-11 15:24:26 +01:00
Andras Bacsai
25b0c8e354 Refactor license and OAuth settings to redirect non-admin users to home page 2024-10-24 20:49:20 +02:00
Danilo Martinelli
96ef0ef749 feat: 🛂 integrate Authentik authentication with Coolify
- Configured Authentik as the OAuth provider in Coolify.
2024-10-13 10:28:24 -03:00
Andras Bacsai
b77171d2f2 fix: settings view
feat: add separate views for settings
2024-08-06 14:36:56 +02:00
Renamed from app/Livewire/Settings/Auth.php (Browse further)