FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Multiple accounts / sessions switching

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    324
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      theo
      last edited by

      For a web-based app, is it possible for a user to sign-in under different accounts and freely switch between them?

      We have an application where users can create workspaces, but the account tied to each workspace is unique to that workspace. We'd like for the user to be able to sign-in to as many workspaces as they'd like but also switch between the accounts easily.

      If this is possible, how would one do it? We do this with Cognito, but it's a gigantic hack with lots of local storage manipulations.

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @theo
        last edited by

        @theo This is a good use case for entity management. You can model workspaces as entities and then grant a single user account permissions for each workspace as needed.

        This is a slightly different model, because the user still has one account, though.

        Here's more details: https://fusionauth.io/docs/v1/tech/core-concepts/entity-management

        Note that entity management is a feature requiring a paid license.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post