openid-connect-generic
openid-connect-generic copied to clipboard
How to use the received token with WP Rest API
Hi,
I am trying to use the access token received to create a new post with WP REST API, but I am not succeeding.
I have tried the following:
As well as tried on Postman:
What I want to achieve ultimately is that if a logged in user (logged in with openid-connect-generic) clicks on a button on SITE A, then the access token can be used to provide authentication for an action on an endpoint on SITE B.
Can you please assist in telling me how I can use the access token to create posts with WP REST API?
Thank you so much in advance.
Hi did you find something? I have the same problem...