Is not clear here... how to create the access token,
Any help is appreciated.
Hi Dennis, cloning with OAuth looks like:
$ git clone https://x-token-auth:{access_token}@bitbucket.org/user/repo.git
The string x-token-auth is required as a substitute for the username.
x-token-auth
OAuth needs a key and secret, which together are know as an OAuth consumer. To create a consumer, do the following:
In the left navigation panel, click OAuth > Add consumer. The system will ask you for name, description, callback URL and URL.
Let us know if you have any more questions or if you're stuck somewhere.
Best regards,
Ana
what should we do with that Key and Secret then ? in the URL you are talking about access_token and then you are giving us Key and Secret ?
The best would be if you can make a example URL of how it looks likethanks
An excessive incomplete @Ana Retamal's answer.
The OAuth credentials are easy to create, but the auth_token is what you have never touched.
@Amir Koklanfor generating the token you can use your consumer key as key in the following address:
https://bitbucket.org/site/oauth2/authorize?client_id={key}&response_type=token
It will ask you for permissions according what you have chosen on creating the consumer.
In the URL you will find the access token that you can use later in
<span>git clone https://x-token-auth:{<strong>access_token</strong>}@bitbucket.org/user/repo.git</span>
I know this is a fairly old thread, but, just in case, I wrote my own credential store to manage bitbucket's token:
https://github.com/gildas/git-credential-bitbucket
It looks like you're new here. Sign in or register to get started.