# Silent token renewal in SPA without refresh tokens and without getWithoutPrompt()

**URL:** <https://devforum.okta.com/t/silent-token-renewal-in-spa-without-refresh-tokens-and-without-getwithoutprompt/35313>\
**Category:** Questions\
**Created:** [June 12, 2026, 6:49am UTC](https://devforum.okta.com/t/silent-token-renewal-in-spa-without-refresh-tokens-and-without-getwithoutprompt/35313 "2026-06-12T06:49:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Halen](https://avatars.discourse-cdn.com/v4/letter/h/76d3ee/32.png) [@Halen](https://devforum.okta.com/u/Halen)\
**Post date:** [June 15, 2026, 6:06am UTC](https://devforum.okta.com/t/silent-token-renewal-in-spa-without-refresh-tokens-and-without-getwithoutprompt/35313/4 "2026-06-15T06:06:31Z")

</div>

Thanks for the reply, Avinash.

Yes, we are using a custom domain as shown in the example. Currently, both the application and Okta are configured under the same shared domain. However, we are still encountering the following error:

**“The client specified not to prompt, but the user is not logged in.”**

with the error code:

**`login_required`**

Before calling `getWithoutPrompt()`, I verified that the user session had not expired. Despite this, the same error continues to occur.

Could you please let us know if there are any additional configurations or checks we should perform?

---

_[View the full topic](https://devforum.okta.com/t/silent-token-renewal-in-spa-without-refresh-tokens-and-without-getwithoutprompt/35313)._
