Error when i use $auth0->exchange in php

Hello, I have a problem with the “$auth0->exchange(ROUTE_URL_CALLBACK)” function.

When I use it after login , it returns the following error: Uncaught Auth0\SDK\Exception\StateException: Missing code.

I’ve checked my URL and the code and the state are both there and it look likes good.

I need help please

Hey there!

Can I ask you to raise it as a GitHub issue in our PHP SDK repo so we can discuss it directly with SDK maintainers? Once you have a link to it please share it here so we can ping them. Thank you!

here the links :

1 Like

Thank you! I’ll ping them in a few minutes!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.