angular-oauth2 icon indicating copy to clipboard operation
angular-oauth2 copied to clipboard

added token storing in $localStorage

Open MikhailRoot opened this issue 9 years ago • 3 comments

As it's unpossible to have cookies in cordova that's why localStorage used. Cookies are still used, it adds $localStorage support for token. So you can use methods like OAuth.isAuthenticated() same as with cookies but with localStorage transparently.

MikhailRoot avatar Dec 12 '16 12:12 MikhailRoot

👍

Can we see this get merged?

solidspark avatar Feb 23 '17 22:02 solidspark

The support for localStorage was discussed on #97.

@MikhailRoot if you want to implement what was proposed there, I'll gladly merge it.

ruipenso avatar Feb 27 '17 21:02 ruipenso

Is there an update on this ? I would need this feature to be able to use this package on a cordova & electron project. How can we unblock this quickly ?

darkurse avatar Dec 21 '17 17:12 darkurse