Hi have a Gitlab enterprise account and I am able to login to it on the browser. When I am trying to add the same account into my sourcetree app on Mac it throws an error
"We couldn't connect to GitLab Enterprise with your (vinay.kolla) credentials. Check your username and try the password again."
Hi @VinayKolla , welcome to the Community!
While I don't have experience with Gitlab Enterprise specifically, I know many providers are switching to access tokens instead of using passwords in clients. I'm wondering if this might be the case for your Gitlab Enterprise server. The Enterprise edition documentation shows that personal access tokens have been around for a while in EE.
To create an access token in Gitlab Enterprise, you can follow these steps:
You can create as many personal access tokens as you like from your GitLab profile.
- Sign in to GitLab.
- In the upper-right corner, click your avatar and select Settings.
- On the User Settings menu, select Access Tokens.
- Choose a name and optional expiry date for the token.
- Choose the desired scopes.
- Click the Create personal access token button.
- Save the personal access token somewhere safe. If you navigate away or refresh your page, and you did not save the token, you must create a new one.
Then paste the token in as the password when configuring your Gitlab Enterprise account in Sourcetree:
Let me know how that goes!
Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events