n

    NathanSkoot

    4 months ago
    Hi Are there any plans to allow multiple logins at the same time? Currently we use https://www.npmjs.com/package/supertokens-website for managing authentication and sessions. The idea would be to allow multiple profiles to be signed in at the same time, similar to how Google allows multiple accounts to login concurrently and switch between profiles.
    r

    rp

    4 months ago
    You could simulate multiple logins via the same session by adding info in the access token payload as to which is the current user to consider.
    I can highlight more info about this approach with code snippets if you ask it on stack overflow with info about your use case and stack being used 🙂
    n

    NathanSkoot

    4 months ago
    Thanks. That was the approach that I was planning, just thought I'd ask in case there was going to be a way with multiple tokens on the frontend. If I have any trouble I'll reach out 😄