Step 6: Turn on single sign-on with Entra ID
- Who
- Enterprise ownerEntra admin
- Hands-on
- ≈ 20 min
- Needs
- 2Setup user
Have ready
- The setup user’s password and second factor from step 2
- An Entra admin with Global Administrator rights, ready to sign in during the step
- A spot in your password manager for the SSO recovery codes
The part of your setup this step touches
With OIDC, people sign in to SUBDOMAIN.ghe.com with their Entra account, and your Conditional Access policies apply automatically. This step turns sign-in on; step 7 brings the people.
Turn on OIDC
Section titled “Turn on OIDC”-
Sign in to
https://SUBDOMAIN.ghe.comas the setup userSHORTCODE_adminand open your enterprise. -
Click Identity provider, then Single sign-on configuration.
-
Under OIDC single sign-on, select Enable OIDC configuration and click Save.
-
GitHub sends you to Microsoft. Sign in with the Global Administrator account.
-
Tick Consent on behalf of your organization and click Accept. This adds the GitHub Enterprise Managed User (OIDC) app to your Entra tenant.
-
Back in GitHub, save the SSO recovery codes with Download, Print or Copy, and store them in the password manager.
-
Click Enable OIDC Authentication.
Good to know
Section titled “Good to know”Conditional Access is automatic
With OIDC, your Entra Conditional Access policies apply without an extra switch. Optional: extended protection for web sessions (in preview) under Authentication security.
Sign-in starts at GitHub
OIDC doesn’t support signing in from the Entra side, so people open https://SUBDOMAIN.ghe.com instead of clicking an app tile.
Troubleshooting
Section titled “Troubleshooting”Microsoft says you need admin approval
The account you signed in with isn’t a Global Administrator. Repeat the step with one, or have your Entra admin sign in for you.
Your tenant already uses OIDC for another GitHub enterprise
Each Entra tenant supports one OIDC connection. Use SAML for this enterprise instead.
Nobody can sign in after a change to single sign-on
Sign in as the setup user with password and second factor and fix the configuration. If that’s not possible, use one of the SSO recovery codes.
Done when…
Section titled “Done when…”- OIDC authentication is enabled for the enterprise.
- The SSO recovery codes are stored in your password manager.