# localStorage and logged-in user

**URL:** <https://forum.ionicframework.com/t/localstorage-and-logged-in-user/2048>\
**Category:** uncategorized\
**Created:** [March 20, 2014, 9:26am UTC](https://forum.ionicframework.com/t/localstorage-and-logged-in-user/2048 "2014-03-20T09:26:48Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![JavierMartinz](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@JavierMartinz](https://forum.ionicframework.com/u/JavierMartinz)\
**Post date:** [March 20, 2014, 3:29pm UTC](https://forum.ionicframework.com/t/localstorage-and-logged-in-user/2048/9 "2014-03-20T15:29:46Z")

</div>

> [@Robin](#):
>
> [http://blog.auth0.com/2014/01/07/angularjs-authentication-with-cookies-vs-token/](http://blog.auth0.com/2014/01/07/angularjs-authentication-with-cookies-vs-token/)

Is there any doc or tutorial about refresh token flow and AngularJS? I mean, the right use of http interceptors and headers to detect that token has expired and ask to API for a new one.

Thanks!

---

_[View the full topic](https://forum.ionicframework.com/t/localstorage-and-logged-in-user/2048)._
