# How to handle access denied response

**URL:** <https://community.auth0.com/t/how-to-handle-access-denied-response/136668>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [June 19, 2024, 7:12pm UTC](https://community.auth0.com/t/how-to-handle-access-denied-response/136668 "2024-06-19T19:12:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![gabor.ottlik.hun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gabor.ottlik.hun/32/57175_2.png) [@gabor.ottlik.hun](https://community.auth0.com/u/gabor.ottlik.hun)\
**Post date:** [August 7, 2024, 8:47pm UTC](https://community.auth0.com/t/how-to-handle-access-denied-response/136668/7 "2024-08-07T20:47:33Z")

</div>

This helped.

> [@Logging out completely](https://community.auth0.com/t/logging-out-completely/118940/4):
>
> Hey - that’s not the most usable solution though, as a non-persistent cookie will be removed on closing the browser, requiring a re-login if I close the tab/browser session. Also, the cookie isn’t the issue here - as I mentioned, the cookie is removed with the /api/auth/logout call, the issue is that some other magic is logging the user back in without logging in if its within a time period of the logout. For me, logout should mean logout, I don’t understand how this behaviour is useful or sec…

---

_[View the full topic](https://community.auth0.com/t/how-to-handle-access-denied-response/136668)._
