Skip to content

Support for multiple user profiles #49148

Closed

Description

@maifeeulasad

Preflight Checklist

Problem Description

Introduce native support for multiple user profiles within the application, similar to Chrome/Chromium profile behavior. Each profile should maintain completely isolated sessions, storage, cookies, cache, and authentication state.

Without proper profile isolation, users must frequently log in and out, risking session conflicts and data leakage.

Proposed Solution

Implement a profile system backed by Electron’s session partitions:
Each user profile maps to a unique persistent partition (e.g., persist:userId)

Full isolation of:

  • Cookies
  • LocalStorage / IndexedDB
  • Cache
  • Authentication tokens
  • Profiles persist across application restarts
  • Everything on application layer

Ability to:

  • Create new profiles
  • Switch between profiles without restarting the app
  • Delete profiles safely

Alternatives Considered

trying to write an application with this feature, not sure how much is possible, but I think adding it to electron source itself will be great

Additional Information

willing to work on this one

Activity

  1. nikwen commented on Dec 7, 2025

    @nikwen
    Member

    Thanks for opening this issue!

    Which parts of these are not currently possible with the session partitions? To me it sounds like an application should be able to implement all of these features with session partitions.

    I'm not sure we'll add some of the functionality natively into Electron, e.g., "profiles persist across application restarts". Different apps will want different behaviors there, so it's best if that is configured by the application developer.

  2. added
    blocked/need-info ❌
    on Dec 7, 2025
  3. maifeeulasad commented on Dec 9, 2025

    @maifeeulasad
    Author

    Yeah it can easily be done. I was thinking more like a out of the box solution. Maybe a library will be more suitable.

  4. removed
    blocked/need-info ❌
    on Dec 9, 2025
  5. nikwen commented on Dec 9, 2025

    @nikwen
    Member

    @maifeeulasad Thanks for reporting back! Yes, a library would be a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions