feat: add Discord authentication framework

This commit is contained in:
2021-12-15 02:27:32 +00:00
parent f44ff75b77
commit 10da9f6797
3 changed files with 31 additions and 2 deletions

View File

@@ -49,6 +49,10 @@ class EventServiceProvider extends ServiceProvider
Login::class => [
LogAuthenticationSuccess::class,
],
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\SocialiteProviders\Discord\DiscordExtendSocialite::class.'@handle',
],
'App\Events\ApplicationApprovedEvent' => [
'App\Listeners\PromoteUser',
],