Cannot login after logout with passwordless OTP login, before access token expires

Hello,

Our team is experiencing an issue.
We have a multi-tenant app built with Next.js and our users log in passwordless authentication with OTP sent via email.

It seems that logging out before the access token expires prevents users to log in back to the application.

We are getting a successful response from ${AUTH0_ISSUER_BASE_URL}/oauth/token that retrieves access token, but it seems that the login is failing, because looking into cookies, it seems that the appSession cookie is not set.

We are happy to provide additional information as needed, as this is a major issue that prevents users to log in if they manually logout before the access token expires.

Waiting eagerly for a reply,
Gabriel Arghire