• Hello. At the moment, I can acquire a TOKEN from using JWT-AUTH. However, I am under the impression that if I access https://example.com/wp-json/wp/v2/pages/ I get a list of all pages available. However, I tried including my token in the header and running this GET command also, in expectation of seeing pages specific to the user. But I don’t see any.

    https://www.example.com/userinfo/<username&gt;

    Is how I use some of my membership features of PMPro.

    I’d like to access this <username> page as a JSON file :).

    Please help!

Viewing 1 replies (of 1 total)
  • This is a little discouraging, it was the very reason I am looking at this plugin. ?? I am wanting to develop a mobile app, interacting with WordPress through the REST API and authenticating with JWT to get a token that I hoped, when the API was called, would be handled as though it were “that user” that authenticated.

    Otherwise, as in your case, none of the content-restricted items are going to show up in the results the API returns and therefore will be useless.

    I don’t know if that is at all the fault of this plugin, a WordPress issue, or just a failure to understand the required steps, but if anyone had an idea I’d love to hear it.

    Having siad that, I haven’t tried this yet, and probably will just to be sure, but I fear it may be lost time if it didn’t work for you.

Viewing 1 replies (of 1 total)
  • The topic ‘how to access user specific information’ is closed to new replies.