2dvisio
2dvisio

Reputation: 911

php-login and API

I have implemented a small website using the well known php-login codebase (https://github.com/panique/huge).

I have now in the process of creating an android application (using Cordova) that will take advantage of the Username/Password to communicate with a REST API.

I thought that it would be very simple to integrate my REST API and the php-login authentication system, however, apparently, the jquery mobile codebase that I am creating in Cordova does not allow me to get the session Cookie from the website.

I am debugging with PostMan and everything runs smoothly there, however, as soon as I switch to Cordova, everything stops working.

Searches on the internet have brought the issues of CORS, Cross side scripting, and other issues that I have tried, and all failed.

Is there a way to make php-login more friendly on that sense and integrate better with REST authentication?

Upvotes: 0

Views: 523

Answers (0)

Related Questions