Log in using Ionic

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

1 Like

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:

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

2 Likes

Great article! thanks for sharing

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