openid-connect-generic
openid-connect-generic copied to clipboard
"Invalid token" with official wordpress oauth2 plugin
Hi guys,
I've been trying to this working with the WP-API oauth2 plugin (https://github.com/WP-API/OAuth2). The auth confirmation screen comes up but after confirming, I'm redirected to the client site's login page and get an "Invalid token" error. The oauth2 plugin is definitely working (tested in Postman). I noticed a similar issue here: https://github.com/daggerhart/openid-connect-generic/issues/48
Would it be possible to add support for this plugin (maybe via a checkbox in the settings page)? It will allow oauth2 logins between wordpress sites which would be pretty awesome. The endpoint URLs are really straightforward:
authorization: "https:///xxxxx.com/wp-login.php?action=oauth2_authorize" token: "https://xxxxx.com/wp-json/oauth2/access_token" grant_types: ["authorization_code","implicit" ]
Cheers!