Wordpress login API Rest

0

I have a client that uses Woordpress and WooCommerce , and I have to make a mobile app from its virtual store, my problem is in the client's LOGIN.

I looked at several API Rest of developers and none has the user login, ie I have to do this in hand. My biggest problem now is that I do not know how to make this rest service accessible through a URL for example:

minhaloja.com.br/api/usuario 

This page has to be created in the plugin installation.

Does anyone have any ideas?

    
asked by anonymous 08.11.2016 / 15:15

1 answer

0

Dude .. for you to authenticate in wordpress via api you can do in some ways ..

  • Cookie Authentication
  • OAuth Authentication
  • Basic Authentication (if you do not need a very high security level)
  • JWT Authentication
  • By removing the rest you will need to install plugins .. Just search quickly in google that you find.

    I advise you to use JWT .. it is easy to understand and has a good level of security.

        
    16.05.2018 / 20:22