dcblogdev / laravel-microsoft-graph

Laravel package for Microsoft Graph API (Microsoft365)

Home Page:https://dcblog.dev/docs/laravel-microsoft-graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error:invalid_client

AnthonyScorch opened this issue · comments

Having followed the installation and graph application setup a few times now, I am constantly getting the error error:invalid_client after being redirected back to the /connect endpoint post sign-in. I have checked al of the details several times and have created a few different secrets but always recieve the same error, does this package still work with the current graph API?

invalid_client must match your client_id field

so MSGRAPH_CLIENT_ID should match what you have in your tenancy

CleanShot 2022-09-03 at 11 44 07@2x

Thanks David, I still cant get it to return anything other than that error but now I know it is on the azure side if the integration is still functional, yes I did use that value from within the azure portal.

Got it, the config file is written but not updated within the cache directory, Quite why cache:clear hadnt sorted it I am not sure but manually changing the config.php file has fixed it.