questions about wixMembersFrontend.authentication.login

We currently have a problem with the session. When using wixMembersFrontend.authentication.login, it creates a session; after that, with the ‘jsonwebtoken’ library, we create a token for our API session. When the API session expires, our app fails, so the user has to log in again.

That’s our current problem with the session, now the questions:

I thank you in advance for your response.