Log in using Ionic


#1

Hi,

I am trying to create an app that can log in to another server, authenticate itself and execute various authenticated rest calls. Is there a straightforward example somewhere that uses the Ionic framework and auths a user and keeps track of any tokens/cookies issued?

Thanks


#2

This issue isn’t really specific to Ionic. You’re asking about generic AngularJS type of functionality. I’d suggest you look at some of the great AngularJS resources such as:


#3

You can take a look at an article I just wrote:

http://www.kdmooreconsulting.com/blogs/authentication-with-ionic-and-angular-js-in-a-cordovaphonegap-mobile-web-application/


Encrypting password details
#4

Great article! thanks for sharing


#5

Thanks! Although we solved the problem ourselves, still a great reference to have.