mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #386] [MERGED] Add OAuth backend #729
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/386
Author: @Boy132
Created: 6/13/2024
Status: ✅ Merged
Merged: 6/13/2024
Merged by: @Boy132
Base:
main← Head:feature/oauth-backend📝 Commits (5)
0652c43add socialite backendcbe3027fix redirect url89084adsmall cleanup29321bdfix "oauth" type5072b02changes from review📊 Changes
12 files changed (+505 additions, -3 deletions)
View changed files
➕
app/Http/Controllers/Auth/OAuthController.php(+61 -0)➕
app/Http/Controllers/Base/OauthController.php(+44 -0)📝
app/Models/User.php(+6 -1)📝
app/Providers/AppServiceProvider.php(+5 -0)📝
bootstrap/providers.php(+2 -0)📝
composer.json(+2 -0)📝
composer.lock(+337 -2)📝
config/services.php(+12 -0)📝
database/Factories/UserFactory.php(+1 -0)➕
database/migrations/2024_06_13_120409_add_oauth_column_to_users.php(+28 -0)📝
routes/auth.php(+4 -0)📝
routes/base.php(+3 -0)📄 Description
Backend for #385.
Doing the frontend only makes sense after we converted the client area to filament too.
For now I only added configs for
githubanddiscordfor testing. More providers should be added when the frontend is been worked on.I tested
githubby manually calling the endpoints,discordis untested but since the underlying system is the same it should also work.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.