API Access Token error - invalid_grant
AnsweredI am trying to generate an access token to use the API. I have what seems to be a valid JWT, but the token request returns an error.
Header:
{
"typ": "JWT",
"alg": "HS256"
}
Payload:
{
"iss": "<my client key>",
"aud": "https://app.iformbuilder.com/exzact/api/oauth/token",
"iat": 1467226280,
"exp": 1467226310
}
The signature and overall token checked out using the jwt.io debugger.
I've also tried url-encoding and base64 encoding the grant_type value with no luck.
The response is status 400, {"error":"invalid_grant"}
I'm working from php using curl if that helps with suggestions.
Please sign in to leave a comment.
Comments
1 comment