Authorization Code Invalid
-
I am using the Oauth2 authentication in an api for my application.
I generate the code using the first request
‘https://public-api.wordpress.com/oauth2/authorize?client_id=88864&redirect_uri=http://localhost:3000/account&response_type=code&scope=postsI get a redirect with the code in query parameters
when I use that code in the second request to generate token I get the following response
{
‘error’: ‘invalid_grant’,
‘error_description’: ‘Invalid authorization_code.’
}WP.com: Yes
Jetpack: No
Correct account: YesThe blog I need help with is: (visible only to moderators and staff)
-
Hello there,
Many thanks for reaching out.
Are you able to confirm the URL of the website that you need assistance with please?
The reason why I ask is because I can see that nehal2.wordpress.com is on the free plan, whereby it wouldn’t be possible to conduct any custom development work.
Many thanks!
- The topic ‘Authorization Code Invalid’ is closed to new replies.