Log in using Ionic



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?



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:


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


Encrypting password details

Great article! thanks for sharing


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