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

Failed AuthStarter response for generating token with given client_Id and client_secret from README.md #15

Open
varunvilva opened this issue Sep 7, 2024 · 0 comments

Comments

@varunvilva
Copy link

I am trying to generate a token using the following API call:

curl --location 'https://auth.ocen.network/realms/dev/protocol/openid-connect/token' \
--form 'grant_type="client_credentials"' \
--form 'cleint_secret="LGweLUAP7OEryjiQQK4byGppswSJYIph"' \
--form 'client_id="f59adada-ea8d-4f8c-b511-4161fd216c49"'

However, I am receiving the following error response:

{
    "error": "invalid_client",
    "error_description": "Invalid client or Invalid client credentials"
}

The documentation or README is not fully explanatory for newcomers. Could you please provide guidance on how to resolve this issue?

@varunvilva varunvilva changed the title Failed AuthStarter respopnse for generating toeken with given client Id and Client Secret Key. Failed AuthStarter respopnse for generating token with given client_Id and client_secret from README.md Sep 7, 2024
@varunvilva varunvilva changed the title Failed AuthStarter respopnse for generating token with given client_Id and client_secret from README.md Failed AuthStarter response for generating token with given client_Id and client_secret from README.md Sep 7, 2024
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

1 participant