I tried sourcetree and local git to push the code .
Unfortunately i SAML password for bitbucket is not working
Looking for teh following things :
1. How to fix git global configuration setup in local for SAML based bitbucket
2. how to fix git global configuration using app password
3. How to fix source tree for mac using app password
The SAML SSO password can be used only for logging in to https://bitbucket.org/ from browser. If you want to clone and push to repos from your machine with basic authentication via HTTPS, you can generate an app password and use that (instead of a password):
The recommended approach is to use a credential helper to store the app password, instead of saving it in plain text.
If you are using a Mac, then Keychain Access is commonly used as a credential helper and it is pre-installed on Mac. You can check if it is already used by Git as a credential helper by running the following commands on a terminal on your Mac:
git config --global credential.helper
git config --system credential.helper
If the output of any of these commands is osxkeychain, then Keychain Access is already used as a credential helper for Git. If it isn't already set, you can set it with the command
git config -—global credential.helper osxkeychain
(applies to your user on the system)
or
git config -—system credential.helper osxkeychain
(applies to all users on the system)
The first time you try to clone or push to a Bitbucket Cloud repo via HTTPS, you will get asked to give a password. Enter the app password, and it should then get saved in the credential helper. Next time you pull or push to a Bitbucket Cloud repo, the saved app password should be used.
SourceTree also works with username and app password for HTTPS authentication. In SourceTree for MacOS, you can go to Accounts >> Add... and add your account with Auth type: Basic, Protocol: HTTPS, and provide username and an app password (in the Password field). Apart from Repositories Read - Write, make sure that the app password also has Account: Read permissions so it can be used when adding your account to SourceTree.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.