error:invalid_granterror_description:The token request was rejected by the remote server.error_uri:
https://documentation.openiddict.com/errors/ID2147
I could not solve the error. can you help me?
https://github.com/openiddict/openiddict-samples/tree/dev/samples/Velusia
I included the above example in my project.
The above example works.
but it doesn't work in my project
I'm having a problem on the Authorization Server side.
output :
OpenIddict.Server.OpenIddictServerDispatcher: Information: The authorization response was successfully returned to '
https://localhost:5031/callback/login/local' using the query response mode: {
"code": "[redacted]",
"state": "pyjEcCmIurWYNUbVW6px20XAGcB3QLqMZZMlbuqvQFI",
"iss": "
https://localhost:4001/"
}.
OpenIddict.Server.OpenIddictServerDispatcher: Information: The request URI matched a server endpoint: Token.
OpenIddict.Server.OpenIddictServerDispatcher: Information: The token request was successfully extracted: {
"grant_type": "authorization_code",
"code": "[redacted]",
"code_verifier": "HzyYo3QH9MTL4b63E7-R9z7-S9VIF8O3SOMSkMqNJR4",
"redirect_uri": "
https://localhost:5031/callback/login/local",
"client_id": "dkgshared",
"client_secret": "[redacted]"
}.
OpenIddict.Server.OpenIddictServerDispatcher: Information: The response was successfully returned as a JSON document: {
"error": "invalid_grant",
"error_description": "The specified token is invalid.",
"error_uri": "
https://documentation.openiddict.com/errors/ID2004"
}.
No comments:
Post a Comment
Thanks