Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Configuring built-in authentication

When you use the default authentication method, all authentication details are stored on your GitHub Enterprise Server instance.

Who can use this feature

Site administrators can configure authentication for a GitHub Enterprise Server instance.

About built-in authentication

By default, GitHub Enterprise Server uses built-in authentication. Each person creates a user account on your GitHub Enterprise Server instance from an invitation or by signing up, and then authenticates with the credentials for the account to access your instance. Your GitHub Enterprise Server instance stores the authentication information for the account.

You can prevent unauthenticated people from creating new user accounts on your instance. For more information, see "Disabling unauthenticated sign-ups."

Alternatively, you can configure external authentication for your GitHub Enterprise Server instance. If you use external authentication, you must invite people to use your instance through your authentication provider. For more information, see "About authentication for your enterprise."

Configuring built-in authentication

  1. 从 GitHub Enterprise Server 上的管理帐户任意页面的右上角,单击

    用于访问站点管理员设置的火箭图� �的屏幕截图

  2. 如果� 尚未在“站点管理员”页上,请在左上角单击“站点管理员”。


  3. 在左侧边� �中,单击“管理控制台”。 左侧边� �中的 管理控制台 选项卡

  4. 在左侧边� �中,单击“身份验证”。 设置侧边� �中的“身份验证”选项卡

  5. Select Built in authentication. Select built-in authentication option

双� � 身份验证

使用 LDAP 或内置身份验证时,支持双重身份验证。 组织管理员可以要求成员启用双重身份验证。

Creating your account

Once your instance has been created, you'll need to create your own admin account.

  1. On the "Create Admin Account" page at http(s)://[hostname]/join, choose your username, password, and email address, then click Create an account. Create Admin Account
  2. Sign in to your GitHub Enterprise Server instance at http(s)://HOSTNAME/login.

Next steps

After you configure built-in authentication and create your administrative account, you can invite people to create accounts and use your instance. For more information, see "Inviting people to use your instance."

Further reading