mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #903] [MERGED] OAuth improvements #1047
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/903
Author: @Boy132
Created: 1/10/2025
Status: ✅ Merged
Merged: 1/15/2025
Merged by: @Boy132
Base:
main← Head:boy132/oauth-settings📝 Commits (10+)
6cb9844rework oauth provider creation & lodaing0f3d93aadd separate setup form2803d02use wizard for setup33ee4e3add provider class for discord3a6af89cleanup and fixesed82f3cdon't throw exception when creating duplicate provider8751f45update profile and login pages0ae63addid not mean to remove the whole else, oops1c2ee31use import2b431daMerge remote-tracking branch 'upstream/main' into boy132/oauth-settings📊 Changes
12 files changed (+504 additions, -212 deletions)
View changed files
➕
app/Extensions/OAuth/Providers/AuthentikProvider.php(+65 -0)➕
app/Extensions/OAuth/Providers/CommonProvider.php(+36 -0)➕
app/Extensions/OAuth/Providers/DiscordProvider.php(+57 -0)➕
app/Extensions/OAuth/Providers/GithubProvider.php(+56 -0)➕
app/Extensions/OAuth/Providers/OAuthProvider.php(+112 -0)➕
app/Extensions/OAuth/Providers/SteamProvider.php(+74 -0)📝
app/Filament/Admin/Pages/Settings.php(+50 -58)📝
app/Filament/Pages/Auth/EditProfile.php(+20 -14)📝
app/Filament/Pages/Auth/Login.php(+12 -8)📝
app/Http/Controllers/Auth/OAuthController.php(+3 -2)📝
app/Providers/AppServiceProvider.php(+19 -16)📝
config/auth.php(+0 -114)📄 Description
Removes the oauth config stuff from
auth.phpand makes use of classes.This improves the creation, loading and setup of oauth providers.
Example for the new setup wizard:

Note: Not all providers have "advanced" setup wizards yet!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.