Hello,
I am facing an authentication related issue in my application configured in WeWeb. In my project, the admin and client pages share the same domain. Whenever I log in to one page (e.g. the admin page), the other page (e.g. the client page) is automatically logged out.
It seems that the issue is related to session or cookie sharing between the pages, which results in the authentication token or session of one type of user being replaced by the other.
Problem details:
The admin and client pages are on the same domain.
Logging in one user (admin or client) logs out the other.
Both user types need to access their respective pages simultaneously.
My question:
How can I configure WeWeb to isolate the sessions or authentication tokens between the admin and client pages?
Is there any recommended configuration to handle multiple types of users on the same domain? For example:
Configuring cookies with different scopes.
Using subdomains or another solution suggested by WeWeb.