I am able to authorize and get a code for my client.
But when I try to authenticate getting
{
error: "invalid_grant"
error_description: “Redirect URI mismatch.”
}
Any idea why I getting this?
I using this url to make the request through a Chrome rest client
https://graph.api.smartthings.com/oauth/token?client_id=XXX&client_secret=XXX&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2FDeviceInfo%2FsmartThings%2Ftoken&code=nNRDbh&grant_type=authorization_code&scope=app