• Resolved alkateb

    (@alkateb)


    Hello everyone, I’m trying to build an Android app for my store, at first I generated a consumer secret and key, and I’m authenticating over HTTPS, everything is working fine, since I’m using the admin’s key and secret.

    I was thinking, to generate a consumer key and secret for each customer and store it in the app, and use it to authenticate with the API, to my surprise! Even though I generated a key for customer and gave it read and write access to the API, I still got the error “Cannot list resource”. I am confused! How am I supposed to authenticate with the API on customer basis?

    Will I need to create an intermediary software on my website, store admin’s key there and filter user input sent from android app? Or is there a better way to go about this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alkateb

    (@alkateb)

    Am I the only one trying to do this?

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    I haven’t heard of anyone trying to give customers access this way, it’s intended for admins and those with admin permissions. That’s likely why you’re getting the error message as the customer user role doesn’t have permission to see what you’re trying to display.

    Have you been able to solve this? Let us know if so please, thanks!

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    There hasn’t been a reply for a while so I’m going to close this ticket.

    If you’re still having problems please open a new ticket, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce API customer cannot list resources’ is closed to new replies.