<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008j7yRWSAYOkta Classic EngineOkta Integration NetworkAnswered2024-03-25T11:37:20.000Z2020-06-17T07:31:50.000Z2020-06-25T06:03:53.000Z

4n1s9 (4n1s9) asked a question.

How to access Enterprise github through command line

Our enterprise github is behind OKTA authentication - after okta verification we can browse repositories hosted at https://git.corp.<ORGDOMAIN>.com on Chrome, however it is not accessible from git CLI, this is command and response:

 

```

git clone https://git.corp.<ORGDOMAIN>.com/<path_to_repo>.git

Cloning into '<repo>'...

fatal: unable to update url base from redirection:

  asked for: https://git.corp.<ORGDOMAIN>.com/<path_to_repo>.git/info/refs?service=git-upload-pack

   redirect: https://<ORGDOMAIN>.trust-<ORGDOMAIN>.console.banyanops.com/v2/auth?client_id=LsiN...&nonce=Y4L...&redirect_uri=https%3A%2F%2Fgit.corp.<ORGDOMAIN>.com%2Fbnn_trust_cb&response_type=id_token&scope=openid+profile+groups+email&state=BgR......

```

Is there a way we can make git cli work for clone/push/pull etc?


This question is closed.
Loading
How to access Enterprise github through command line