Skip to main content
This guide shows how to invite developers to a GitHub organization, accept their invitations, enable two‑factor authentication (2FA) for individual accounts, audit 2FA status across an enterprise, and enforce 2FA at the enterprise level. Follow the steps below to keep your organization secure and to plan enforcement with minimal disruption.

Invite members

  1. From your enterprise account, open the target organization (example: Game Dev Studio).
  2. Go to the People tab and click Invite member.
  3. Enter the user’s GitHub username or email, choose a role (Member or Owner), and send the invitation. Invitations remain in a pending state until the recipient accepts.
A GitHub organization invite page for adding user "kabir-dev1-kk" to the "game-devstudio" org, showing radio options for Member or Owner and a green "Send invitation" button. The page is displayed in GitHub's dark theme.
  1. Repeat for additional developers. Pending invites are visible on the organization’s People page.
A GitHub organization's "People" admin page showing the Invitations section with two pending member invites. The list shows users sid-dev2-kk and kabir-dev1-kk, each invited on Aug 23, 2026.
Tip: Use the recipient’s GitHub username when possible; email invites are fine but can be delayed if the recipient’s primary address differs. Track pending invites from the People tab and resend if necessary.

Accepting an invitation

  • Invited users receive an email with a Join link. Following that link opens an acceptance dialog.
  • The acceptance dialog lists what the organization owner may see (public profile, 2FA status, country, activity, etc.). The user chooses Join or Decline.
A dark-mode screenshot of a GitHub page showing an invitation to join the "game-devstudio" organization. The dialog shows the org logo, an option to request a GitHub Copilot seat, and green "Join" and gray "Decline" buttons.
  • After both users accept, the organization lists them (for example: AliceAdmin as Owner; Dev1 and Dev2 as Members). At the enterprise level the People view shows total members and how many licenses are consumed.

Enable two‑factor authentication (2FA) for a user

To enable 2FA for an individual account (example: Kabir Dev1):
  1. Sign in as the user and open Settings.
  2. Under Password and authentication, start the two‑factor authentication setup flow. GitHub may ask you to reconfirm account access before proceeding.
A GitHub settings page (Public profile) in dark mode, showing a circular profile picture and editable fields for name, public email, bio, pronouns, URL and social links. The left sidebar lists other settings like Account, Appearance, Notifications and SSH keys.
  1. During setup either copy the setup key or scan the QR code with an authenticator app (Google Authenticator, Authy, 1Password, etc.). You can also use GitHub Mobile, passkeys, or security keys.
A dark‑themed screenshot of GitHub's "Enable two‑factor authentication (2FA)" setup page showing instructions and a QR code to configure an authenticator app. The page includes a field to verify the code and buttons to cancel or continue.
  1. Verify the generated OTP from your authenticator and complete the flow. GitHub confirms when two‑factor authentication is enabled.
A GitHub settings screenshot confirming two-factor authentication has been enabled, with celebratory confetti. The page lists options to configure passkeys, security keys, and GitHub Mobile and shows a green "Done" button.

Audit 2FA status and export user data

To assess which users have 2FA enabled across an enterprise:
  • From the enterprise People view you can filter users by secure/insecure status and download a CSV report.
  • Export the CSV to review 2FA coverage at scale and identify users who need to enable 2FA before enforcement.
A screenshot of an Excel spreadsheet showing exported GitHub user data with columns for usernames, enterprise/visual-studio flags, license type, roles, and two-factor auth (TRUE/FALSE). Three user rows are visible: alice-admin-kk, sid-dev2-kk, and kabir-dev1-kk.
CSV columns commonly include: Use the CSV to contact users who have FALSE in the two‑factor column and provide instructions or a grace period to enable 2FA.

Enforce 2FA at the enterprise level

To require 2FA across an enterprise and all covered organizations:
  1. From your enterprise account go to Settings > Authentication security.
  2. Choose to require two‑factor authentication for all users under the enterprise and select allowed 2FA methods (passkeys, security keys, authenticator apps, GitHub Mobile). You can opt to block SMS-based codes if you require stronger methods.
A dark-themed GitHub Enterprise settings screen for the "NextGen Gaming" account showing the "Authentication security" section. It displays options for requiring two-factor authentication (with secure methods highlighted) and SAML single sign-on settings.
Requiring 2FA at the enterprise level immediately blocks access for users who have not yet enabled it. Before enforcing, export the People CSV, identify users without 2FA, and communicate a clear timeline and support steps so they can enable 2FA and avoid unexpected access loss.

Effect of enforcement on an individual user

  • When enforcement is active, users without 2FA will see a notice when trying to access an affected organization and must enable 2FA to continue.
A dark-themed GitHub page showing a notice that the organization "game-devstudio" requires two-factor authentication, with a green "Enable two-factor authentication" button. The screenshot includes the browser tab bar and GitHub header.
  • After enabling 2FA (via an authenticator app, GitHub Mobile, passkeys, or security keys), the user’s access is restored.

Organization-level settings vs enterprise enforcement

  • Organizations have their own Authentication security settings under Settings.
  • If the enterprise enforces 2FA, that enterprise policy takes precedence. Organization-level controls will be shown as controlled by the enterprise and cannot be disabled by organization admins.
A screenshot of the GitHub organization "game-devstudio" Settings page showing security options. It displays Two-factor authentication (with "Require two-factor authentication" enabled) and SAML single sign-on settings.

Summary / Checklist

  • Invite members from the organization People tab and monitor pending invitations.
  • Instruct users to accept invitations via email; acceptance may show what profile/2FA info the organization can view.
  • Enable 2FA on user accounts with an authenticator app, GitHub Mobile, passkeys, or security keys.
  • Export the enterprise People CSV to audit 2FA coverage and plan enforcement.
  • Communicate a grace period and enablement instructions before enforcing 2FA to avoid accidental access loss.
  • When the enterprise enforces 2FA, organization settings are overridden by the enterprise policy.

Watch Video