0

I'm working on an app that uses WordPress for user management. After login, the app holds the auth cookie. How can I use that cookie to open a web view of a protected page within the app without requiring the user to login again?

Can the app specify some header parameter? Or a URL query parametr? A plugin that provides this type of functionality?

Update: The auth cookie is initially fetched using the JSON API User plugin.

0

Was simpler than I thought, but surprisingly little information about this. A client can request a protected page by specifying the cookie with a cookie query parameter:

http://{wordpress-installation}/user?cookie={cookie}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.