Thanks for any help,
Knut
However, after a few days or weeks, our sites will disconnect from Site Kit, and we are asked to redo the setup. This holds true regardless of theme, hosting server, plugins, or any other normal troubleshooting point we can think of. It happens to all of our sites.
The exact message is: “Unable to receive access token because of an invalid authorization code or refresh token.” We hit the button “Redo plugin setup” and everything is fine…until some time later when the message pops up again.
Thank you in advance.
]]>Here is my process:
1) I start to log in to my app.
2) The app starts oauth2 authentication with my WP server.
3) I enter my credentials and everything goes well, so I get logged in into my app.
4) I log out of my app. This revokes the access token.
5) I start to log in to my app again.
6) I’m already logged in the WP server, so it does not ask for my credentials this time.
7) I get an authentication error on my app because it did not get the access token from the OAuth2 WP server.
Looking at the log, I see this error on the response:
Authorization code doesn't exist or is invalid for the client
My guess is that even though I revoked the token, the server is sending the same authorization code, which is then refused when trying to get the token. But the server should be sending a new authorization code as the previous token was revoked.
Am I making sense?
]]>If I try to get a new code and click on “Get my authorization code” the new page opens, I click on the captcha and… nothing happens.
So I can’t get a new code.
Please help!
Thanks
Heike
However, we never get any email. So we are now locked out of our website. Please help.
]]>