OpenID-Connect-PHP icon indicating copy to clipboard operation
OpenID-Connect-PHP copied to clipboard

Invalid Client - Connect Token

Open mrussorch opened this issue 11 months ago • 1 comments

Hi, I have problem with {{url)/connect/token The first part with redirect works fine with code but when I have $_REQUEST['code'] and try to call this function $this->requestTokens($code) $output is

"""
{
  "error": "invalid_client",
  "error_description": "The specified client credentials are invalid.",
  "error_uri": "https://documentation.openiddict.com/errors/ID2055"
}
""" // vendor\jumbojett\openid-connect-php\src\OpenIDConnectClient.php:1445

Note : the post body in fetchUrl(...) is like this "grant_type=authorization_code&code=**************************&redirect_uri=http%3A%2F%2F************"

Thank you very much

mrussorch avatar Mar 08 '24 09:03 mrussorch