Hi @jerryforcode
Thanks for getting back in touch with us.
It sounds like when you present your error page you will also need to clear you application session. How you do this depends on what SDK/Library you’re using but it would be something you need to manage yourself. Some SDK’s when you implement the logout will clear the application session as well maybe you can piggy back on some of the functionality to clear your application session/cookie. Please review this doc on session layers as it would be worth looking at that to understand the different sessions https://auth0.com/docs/users/sessions/session-layers and your relevant Auth0 library should be listed here https://auth0.com/docs/libraries the Quickstarts also help in breaking down the logout requirements https://auth0.com/docs/quickstarts
Please let me know if you need any further assistance on this.
Regards