mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #718] [MERGED] Add Oauth frontend and backend improvements #921
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/718
Author: @Boy132
Created: 11/18/2024
Status: ✅ Merged
Merged: 11/30/2024
Merged by: @Boy132
Base:
main← Head:oauth/auth-frontend📝 Commits (10+)
9ae24fbbetter oauth provider loading2b1ce02add auth frontend7b20730add configs for all default providers793a14dadd more default providersd89b273add env variables to enable oauth providersb6c5256small refactor to link/ unlink routes028fea7add oauth tab to (admin) profile886d047use redirects instead of exceptionsa483142add notification if no oauth user is found0a673dause import in config📊 Changes
10 files changed (+322 additions, -63 deletions)
View changed files
📝
app/Filament/Pages/Auth/Login.php(+23 -0)📝
app/Filament/Resources/UserResource/Pages/EditProfile.php(+51 -0)📝
app/Http/Controllers/Auth/OAuthController.php(+20 -2)➖
app/Http/Controllers/Base/OAuthController.php(+0 -43)📝
app/Providers/AppServiceProvider.php(+13 -3)📝
composer.json(+2 -0)📝
composer.lock(+100 -0)📝
config/auth.php(+113 -0)📝
config/services.php(+0 -12)📝
routes/base.php(+0 -3)📄 Description
Adds oauth buttons to the filament auth.
Improves the backend and makes adding providers easier.
Adds more default providers.
No oauth for the old auth/ old client area auth! So only admins can use oauth for now!
Note: There is no "automatic registration" when using oauth. If you login via oauth but there is no linked user found, you will be redirected to the login page!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.