Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Resolved Managing Multiple Logins

Discussion in 'Unity Hub' started by Atrixx, Feb 9, 2022.

  1. Atrixx

    Atrixx

    Joined:
    Feb 8, 2012
    Posts:
    23
    I've found a workaround for the inability to switch accounts directly via the Unity Hub.

    Unfortunately, the thread related to this was closed, although my hope is to document a solution for those who have a separation between work and their personal account. As unfortunately, at the moment, there can only ever be one Hub instance running on a machine.

    The idea is to log-in to each account via two seperate browsers. Then, by clicking "Log Out" in the editor, then "Sign in", you can control the flow of authorisation.

    In my case, on macOS I am utilising Finicky to handle the link. Here is a sample of my configuration.

    Code (JavaScript):
    1. module.exports = {
    2.   defaultBrowser: "Safari",
    3.   handlers: [
    4.     {
    5.       // Open links in Safari when the option key is pressed
    6.       // Valid keys are: shift, option, command, control, capsLock, and function.
    7.       // Please note that control usually opens a tooltip menu instead of visiting a link
    8.       match: () => finicky.getKeys().capsLock,
    9.       browser: "Firefox"
    10.     }
    11.   ]
    12. }
    13.  
    For windows, there are solutions like Browser Chooser 2
    And for linux, there seem to be resources on reddit

    I hope this helps!