Skip to main content

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