Skip to content

Commit d822014

Browse files
eptekovmchammer01Copilot
authored
Updating Git over HTTP authentication docs for GHES to match actual behavior (#55448)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c44a95a commit d822014

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

content/authentication/keeping-your-account-and-data-secure/about-authentication-to-github.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,17 @@ You can work with all repositories on {% data variables.product.github %} over H
116116

117117
If you authenticate with {% data variables.product.prodname_cli %}, you can either authenticate with a {% data variables.product.pat_generic %} or via the web browser. For more information about authenticating with {% data variables.product.prodname_cli %}, see [`gh auth login`](https://cli.github.com/manual/gh_auth_login).
118118

119-
If you authenticate without {% data variables.product.prodname_cli %}, you must authenticate with a {% data variables.product.pat_generic %}. {% data reusables.user-settings.password-authentication-deprecation %} Every time you use Git to authenticate with {% data variables.product.github %}, you'll be prompted to enter your credentials, unless you cache them with a [credential helper](/get-started/git-basics/caching-your-github-credentials-in-git).
119+
If you authenticate without {% data variables.product.prodname_cli %}, {% ifversion fpt or ghec %}you must authenticate with a {% data variables.product.pat_generic %}. {% data reusables.user-settings.password-authentication-deprecation %} Every time you use Git to authenticate with {% data variables.product.github %}, you'll be prompted to enter your credentials, unless you cache them with a [credential helper](/get-started/git-basics/caching-your-github-credentials-in-git).{% elsif ghes %}you can use authentication methods whose availability depend on your IdP.
120+
121+
The table outlines the available authentication methods based on the IdP configured for your instance. Different IdPs may impose specific restrictions or enable certain features, such as disabling password authentication. For more details, see [AUTOTITLE](/admin/authentication).
122+
123+
| IdP | Available authentication methods | More information |
124+
| :- | :- | :- |
125+
| SAML | {% data variables.product.pat_generic_caps %} | Password authentication disabled |
126+
| LDAP | {% data variables.product.pat_generic_caps %} or Username / Password | Password authentication can be disabled by the site administrator |
127+
| Built-in authentication | {% data variables.product.pat_generic_caps %} or Username / Password | Password authentication cannot be disabled |
128+
129+
{% endif %}
120130

121131
### SSH
122132

0 commit comments

Comments
 (0)