Closed ssmusoke closed 7 months ago
Hi @ssmusoke,
When are you getting this? Is this a global exception (occurring when you attempt to load any page), or does this occur when you perform a specific action?
I changed the login page to have the link using the redirect route, so when I click the link it throws the error
I see the issue, the EventServiceProvider
hasn't been updated as shown in the Socialite Provider docs:
https://socialiteproviders.com/Microsoft/#installation-basic-usage
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\SocialiteProviders\Microsoft\MicrosoftExtendSocialite::class.'@handle',
],
];
I'll update the Bartender docs to ensure it's clear to look at the Socialite Provider install instructions 👍
Ok I've added clarity to the installation steps! 👍
Repo - https://github.com/ssmusoke/microsoft
Error screen shot
.env file configuration
AZURE_CLIENT_ID=16d3a74a-xxxx-4114-0000-92c3026027b5 AZURE_CLIENT_SECRET="ABCDEF~kN8Xib7rSX5ImYb3-WHATEVERGOESHERE" AZURE_TENANT_ID=d2846d5f-9999-4de6-0000-6dac927610be AZURE_REDIRECT_URI="/auth/microsoft/callback"