简体   繁体   中英

Ionic how to login by using WP Rest API

I have a Ionic Project for my wordpress site.

I use WP Rest API in my wordpress site.

I just want to know how to login in the app use wordpress user account.

Anybody could tell me more detail about how to do it...thanks!

Here are many Solutions provded by google

http://code.tutsplus.com/tutorials/wp-rest-api-setting-up-and-using-basic-authentication--cms-24762

http://v2.wp-api.org/guide/authentication/

https://www.sitepoint.com/wp-api/

All in all everything depends on what plugin you use. If you really want to use WP REST API, then you will find something in these links.

We would also need to know why you need to login - maybe it's not even needed.

As you might notice the implementation depends on what plugin you use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM