skip to Main Content

fatal: could not read Username for ‘https://github.com’: terminal prompts disabled Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

Any idea how can I fix it inside docker

3

Answers


  1. When you’re in an organization that uses SAML SSO, every personal access token that’s used to access that organization’s resources has to be specifically enabled for that organization.

    You can go into the Personal Access Token settings and choose "Configure SSO". From there, you can enable the token for the specific organization that you’re using. After that point, using it as normal should work.

    Login or Signup to reply.
  2. As answered above, make sure you go to personal access settings and ensure that configure sso for your token includes your ORGANIZATION-NAME. Additionally, I had to do an extra step for it work. I went to https://github.com/orgs/ORGANIZATION-NAME/sso

    Source: https://docs.github.com/en/enterprise-cloud@latest/authentication/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on

    Login or Signup to reply.
  3. Double check if you have an SSH key associated with your account (https://github.com/settings/keys) and make sure it has SSO enabled as well.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search