adds the role and I'll go ahead and link and socialite
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use SocialiteProviders\Azure\AzureExtendSocialite;
|
||||
use SocialiteProviders\Manager\SocialiteWasCalled;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
final class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
@@ -16,9 +21,10 @@ public function register(): void
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
* Registers the Microsoft Azure Socialite provider for SSO authentication.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
//
|
||||
Event::listen(SocialiteWasCalled::class, AzureExtendSocialite::class.'@handle');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user