openid-connect-generic icon indicating copy to clipboard operation
openid-connect-generic copied to clipboard

How to use the received token with WP Rest API

Open Luzaan opened this issue 4 years ago • 1 comments

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: image

As well as tried on Postman: image

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.

Luzaan avatar Oct 26 '20 10:10 Luzaan

Hi did you find something? I have the same problem...

jbpoujol avatar Nov 24 '20 15:11 jbpoujol