# How to renew access token without Hosted Login Page

**URL:** <https://community.auth0.com/t/how-to-renew-access-token-without-hosted-login-page/8253>\
**Category:** Get Help\
**Tags:** renew, access-token\
**Created:** [September 20, 2017, 6:15am UTC](https://community.auth0.com/t/how-to-renew-access-token-without-hosted-login-page/8253 "2017-09-20T06:15:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giacomo\_Tagliabue](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/giacomo_tagliabue/32/5876_2.png) [@Giacomo\_Tagliabue](https://community.auth0.com/u/Giacomo_Tagliabue)\
**Post date:** [September 20, 2017, 6:15am UTC](https://community.auth0.com/t/how-to-renew-access-token-without-hosted-login-page/8253/1 "2017-09-20T06:15:12Z")

</div>

I have an SPA application and a requirement is that there is no redirection to the hosted login page. This means that our custom login page hits the `/oauth/token` endpoint with username and password and receives back an `access_token`. Since this method is not using SSO, it’s not possible to refresh the token. A solution to this would be to use refresh token, but that’s not considered best practice.

In other words: is it possible to refresh an `access_token` taken from `/oauth/token` API? If this is not possible, that would be a show stopper for anyone not using the hosted login page

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/how-to-renew-access-token-without-hosted-login-page/8253/2 "2018-03-02T05:56:36Z")

</div>


