OpenID-Connect-PHP
OpenID-Connect-PHP copied to clipboard
Invalid Client - Connect Token
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