Invalid_client error in league / oauth2

Hi, using the PHP library, I got the following error:
Fatal error: Uncaught League \ OAuth2 \ Client \ Provider \ Exception \ IdentityProviderException: invalid_client in /var/www/vhosts/…/vendor/league/oauth2-client/src/Provider/GenericProvider.php:222 Stack
Can someone help me?

Hey @jorge

Can you please share with us the parameters you are passing to the function call?

The error seems pretty explicit: invalid_client, you should verify you are passing the valid OAuth2 id and secret.

Kind regards,

And by the way, our Starting my Integration centralises lots of additional information on how best to work with us and build your integration.