Kiln Auth with multiple accounts, different user name - Kiln Knowledge Exchange most recent 30 from http://kiln.stackexchange.com 2013-06-19T23:13:54Z http://kiln.stackexchange.com/feeds/question/3273 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://kiln.stackexchange.com/questions/3273/kiln-auth-with-multiple-accounts-different-user-name Kiln Auth with multiple accounts, different user name Ben McCormack 2011-03-11T20:36:56Z 2012-02-09T20:42:47Z <p>I read through the question and answer about <a href="https://kiln.stackexchange.com/questions/2273/kiln-auth-with-multiple-accounts" rel="nofollow">Kiln Auth with Multiple Accounts</a>, but I wasn't sure how it would work if my account name and/or account e-mail happened to be different for each Kiln account. I understand that I will be prompted for a password when I do an <code>hg push</code> to a Kiln repo, but the username is already filled in for me.</p> <p>Let's say I have the following that I want to be able to access from the same machine:</p> <ul> <li>benwork.kilnhg.com <ul> <li>name: Ben McCormack</li> <li>email: ben@mycompany.com</li> </ul></li> <li>benhome.kilnhg.com <ul> <li>name: Zero Cool</li> <li>email: ben@awesomehacker.com</li> </ul></li> </ul> <p>What (if anything) would I need to do to be able to push to repositories in both environments?</p> http://kiln.stackexchange.com/questions/3273/kiln-auth-with-multiple-accounts-different-user-name/3274#3274 Answer by Tyler Hicks-Wright for Kiln Auth with multiple accounts, different user name Tyler Hicks-Wright 2011-03-11T22:24:39Z 2011-03-11T22:24:39Z <p>You don't have to do anything special! KilnAuth uses cookies to keep you logged in, so as long as you are logging into different domains, it will keep the two separate. First, just push or pull something to your work account, it'll ask you for you username/password. Then, do the same with your home account. Again, it'll ask you for your username/password.</p> <p>Once you've logged in to both, you shouldn't have to provide credentials for either.</p>