# Token Renewal for User Session

**URL:** <https://community.auth0.com/t/token-renewal-for-user-session/15541>\
**Category:** JWT.io\
**Tags:** lock\
**Created:** [September 17, 2018, 10:47am UTC](https://community.auth0.com/t/token-renewal-for-user-session/15541 "2018-09-17T10:47:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![baleshwar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/baleshwar/32/8819_2.png) [@baleshwar](https://community.auth0.com/u/baleshwar)\
**Post date:** [September 17, 2018, 10:47am UTC](https://community.auth0.com/t/token-renewal-for-user-session/15541/1 "2018-09-17T10:47:28Z")

</div>

Hi, I have integrated Auth0 lock for authentication and trying to re-new ID token using `this.auth0.checkSession()`.

It is always throwing error “login required” with social login only but in other case it working fine.

Thank You !

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [September 17, 2018, 2:18pm UTC](https://community.auth0.com/t/token-renewal-for-user-session/15541/3 "2018-09-17T14:18:35Z")

</div>

Hey there @baleshwar! Are you using a custom domain for your Auth0 tenant? i.e. Are the /authorize and checkSession() calls hitting your custom domain endpoint? If so this may be related to resolving the CNAME’s required for the custom domain. Also are you seeing any other errors within the console? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [September 27, 2018, 2:54pm UTC](https://community.auth0.com/t/token-renewal-for-user-session/15541/4 "2018-09-27T14:54:47Z")

</div>

I wanted to follow @baleshwar and see if you still had any questions regarding this matter? Feel free to let us know if you need anything!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [June 4, 2019, 9:50pm UTC](https://community.auth0.com/t/token-renewal-for-user-session/15541/5 "2019-06-04T21:50:41Z")

</div>


