Support » Plugin: API Bearer Auth » Rest request roundtrip

  • Resolved EvdHeuvel

    (@evdheuvel)


    Prob a newbie question. I’m creating a round trip where my WordPress plugin is calling an external system using a non blocking Rest call. At some point the system needs to respond back to WordPress via a custom end point in my plugin.

    I think I need to create the token upon sending the request to the external system and let that system use the token at some point to update WordPress. Is this assumption correct? Or would I create a user specifically for the external system and let that request a token upon responding?

    Groet,

    Erik

Viewing 1 replies (of 1 total)
  • Thread Starter EvdHeuvel

    (@evdheuvel)

    Never mind, I implemented it such that the external system (OL Connect Workflow) is requesting a token for a specific user account with a specific role. The token is used in subsequent request. It was nice to find out that custom end points with nonce validation where still working properly so there was no need to whitelist these.

Viewing 1 replies (of 1 total)
  • The topic ‘Rest request roundtrip’ is closed to new replies.