Building a cordova (HTML/JS) based mobile app (not-native) and I want to use wordpress only as the backend.
The idea is that mobile app users will be making requests to the API and custom endpoints and will get the JSON response back.
Question is how to handle the authentication of users (logging into wordpress). I think oAuth cannot be used in my situation? and the only option I can think of is to use Basic Auth + Cookies.. But not sure.
Any help ?
Just to be clear, the mobile app will be a completely custom html/js interface, and it won't use the standard wordpress frontend at all.
Thanks
you can write any authentication code to support the scheme you want
Someone please elaborate on this ?