Skip to Main Content

DevOps, CI/CD and Automation

Authentication keeps failing while trying to clone a git repository from OCI to Local

User_5T3ASJan 14 2022

Hi everyone, newcomer here
I've created a DevOps code repo in OCI and I'm trying to clone it to Local - but after entering my credentials in GitBash I keep getting the message:
"fatal: Authentication failed for '<HTTPS clone link to my git repo>.git'"
I've tried my username in the formats "TenancyName/Federation/UserName" and "TenancyName/YourUserName" - and for the password I'm using a fresh auth token generated on that same account. Does anyone have any pointers as to why it keeps failing? From what I've read these should be the correct credentials.
This is the process I've been following: https://docs.oracle.com/en-us/iaas/Content/devops/using/clone_repo.htm
Thanks in advance!

Comments
Post Details
Added on Jan 14 2022
2 comments
5,425 views