How to force user to re-login after logout using JupyterHub and Auth0?

I already tried what was suggested here: How to force re-login for users, and in other posts with this same question, but no luck so far. Is there something to change on JupyterHub, or to solve this issue do I need to change something in my Auth0 account?

The base of the problem is that even though your OAuth session expires, there is no (current, AFAIAA) way to have the state of the IdP propagate to your JupyterHub instance. I will paste a possible solution to the original thread just after this