• teddyv

    (@teddyv)


    Hi!

    I try to manage my WP-users from a Google app script and to begin I want to get access to all user information.

    I am using oauth2 after this example

    I have successfully required a token key but when try to access the users i only get my own user (admin), and when i try a specific other like …/user/3 i get an 401 respons.

    I believe the problem is that i am authenticated but not permitted, and therefore it has to do with scopes? However i can’t find any proper documentation on what scopes is accepted and what is required.

    Been searching for hours now but can’t find any solutions. Is the problem scopes and what can I use?

    thanks!

  • The topic ‘401 get /wp-json/wp/v2/users’ is closed to new replies.