We're currently developing an html5 based iOS app using ExpressionEngine as the data source. So far it's working and looking great. However, we're unsure as to how approach the member side of things: we want to allow users to log in as they do on the main website. This appears to be somewhat of a challenge and we're wondering if anyone has come across a solution?

We're also using Zoo Visitor, but I don't think that's so relevant? It's the member authentication side of things we don't know how to tackle.

Any help would be much appreciated.


  • jim, shoot me an email, i have something in the works that could help you out but am keeping it under wraps in the meantime.
    – Ben Croker
    Commented May 8, 2013 at 15:11

2 Answers 2


So after going to EEUK13 and seeing Ben Croker's talk, we're going to be using his lovely Open API module to deal with this stuff. If anyone wants to check it out, here's the link: https://github.com/putyourlightson/open-api


EE has it's in-built function to authenticate users.

$this->EE = & get_instance();


$session_user = $this->EE->auth->authenticate_username($username,$password);
// start the usersession

For subsequent calls, ensure that the session exists.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.