Ng-Token-Auth and Ionic



Has anyone had any success implementing ng-token-auth with Ionic? I have everything working in Angular working in my browser, but am unable to log-in when I run my app on a mobile device.

I’m pretty sure the issue is related to InAppBrowser, since ng-token-auth uses a browser window to handle oauth signins.


I havent tried this one… I have had issues with this using a couple other libraries for oauth. The only one I could get working on Ionic is $cordovaOauth with ng cordova.


Hi, I’m using ng-token-auth with ionic and found that using cookies for storage does not work in the app, more info here

You have to set the config option storage like this: storage: 'localStorage'