rootinc / laravel-azure-middleware

94 stars 39 forks source link

Error : The request body must contain the following parameter: 'co #49

Closed oumni closed 3 years ago

oumni commented 3 years ago

Hi,

I'm getting this error, obviously this is when the post request is sent after getting the authorization code.

Client error: POST https://login.microsoftonline.com/xxxxxxx/oauth2/token resulted in a 400 Bad Request response: {"error":"invalid_request","error_description":"AADSTS900144: Tc(truncated...)

The problem is that i don't know witch parameter is causing the issue, as it' marked as 'co , I'm thinking about code parameter but why would it cause a problem?

Can you please help me with this. Thank you very much.