Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,566
Community Members
 
Community Events
184
Community Groups

How to push with http token?

Nils Bentlage
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Mar 28, 2023

There's one of our Repositorys we want to make accessbile in our organization, even for co-workers without a Bitbucket-Account and/or SSH-Key. So we thought about a http-token.

I am able to clone that repo using the created http-token, but i'm unable to write (git push). I tried to achieve that by adding <user>:<token>@ .... to the remote (actually, i cloned it that way, so i just changed that afterwards for Testing)

  • The Token-Authorization-Level is set to "write repository"
  • as a Username i tried my own and also 'x-auth-token'

We're running BB 8.8 on-prem.

thx in advance.

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 28, 2023

Hi Nils,

If the clone works, the push should work the same way - what happens when you do try to push with a token?

Cheers

Christian

Premier Support Engineer

Atlassian

Nils Bentlage
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Mar 30, 2023

Hi Christian, thanks for your fast reply :)

from git push i get:

fatal: Authentication failed for 'https://<our-bitbucket-url>/scm/~<my-user>/<my-project>.git/'

I just tried it one more time and am able to pull & fetch, using the origin i wrote. To do that i used the http-clone-address (as suggested by the top left icon in BB) and added '<user>:<token>@' between https:// and the domain. But im unsure because of the character '~' ... it is part of the url but should not be a part of the username. is that correct?

Cheers! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events