Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Client - Connect Token #410

Open
mrussorch opened this issue Mar 8, 2024 · 1 comment
Open

Invalid Client - Connect Token #410

mrussorch opened this issue Mar 8, 2024 · 1 comment

Comments

@mrussorch
Copy link

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

@DeepDiver1975
Copy link
Collaborator

https://documentation.openiddict.com/errors/ID2055 is WIP

Hard to tell what the IdP is expecting there. I doubt there will be much help from this community.
You might also want to reach out to the openiddict community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants