Open
Description
I have a use case where I have 2 type of accounts on the same domain.
- Student accounts
- Teacher accounts
In my ideal case the two logins would be completely separate and independent. So when a teacher is logged in, if he "previews the student login page" it would still be marked as logged out.
Currently I can do this using subdomains, since cookies are not shared. But is there a better alternative? I'm thinking something like useUserSession({account_type:'teacher'}) and same on the backend I would use await getUserSession(event, {account_type:'teacher')
Is something like this at all possible?