nraboy / ng-cordova-oauth

AngularJS oauth library for use with Apache Cordova projects
https://www.thepolyglotdeveloper.com
MIT License
456 stars 199 forks source link

It clears the Active Session Cookies of the APP #259

Closed ram3shyadav closed 8 years ago

ram3shyadav commented 8 years ago

I want to merge the oauth profile to the active user session but when app opens inAppBrowser it clears the session cache of the app because of which on updating data to server it is responding 401 unauthorised.

nraboy commented 8 years ago

You should not rely on the browser to maintain your session. Save all tokens and manage them in your application layer.