Skip to content
Insights
Request Services
GitHub Enterprise
All integration guidesIntegration · SAML + SCIM · reviewed 2026-05-22

Okta + GitHub Enterprise integration

Set up Okta as the identity provider for GitHub Enterprise via SAML + SCIM — for GitHub Enterprise Cloud organizations or Enterprise Server instances.

Share
Prerequisites
  • Okta admin role
  • GitHub Enterprise Cloud organization owner OR Enterprise account owner
  • GitHub Enterprise plan (SAML SSO is Enterprise-only)
Step-by-step setup
  1. 1. Create a new SAML 2.0 application in Okta

    In the Okta admin console, create a new SAML 2.0 application. Choose "Web Application" type. Note the placeholders for ACS URL + Entity ID — you'll get these from GitHub Enterprise in step 3.

  2. 2. Get the SAML metadata URL from Okta

    Okta exposes the IdP metadata at a stable URL. Copy this URL — you'll paste it into GitHub Enterprise's SSO configuration. Alternatively, download the metadata XML if GitHub Enterprise doesn't support URL-based metadata.

  3. 3. Configure SSO in GitHub Enterprise

    In GitHub Enterprise's admin → security → SSO settings, paste the Okta metadata URL (or upload the XML). GitHub Enterprise will display the ACS URL + Entity ID it expects — copy these.

  4. 4. Return to Okta + complete the SAML app config

    Paste GitHub Enterprise's ACS URL into the Okta app's Single Sign-On URL field. Paste the Entity ID into the Audience URI field. Set the NameID format to EmailAddress (or persistent if GitHub Enterprise expects that).

  5. 5. Configure attribute mapping

    Map the attributes the SP expects (see the Attribute Mapping section below). At minimum, email is required. Most apps also expect firstName + lastName.

  6. 6. Assign users + groups

    In Okta, assign the SAML app to users or groups that should have access. Test with a pilot group before broad rollout.

  7. 7. Test end-to-end

    Sign in to GitHub Enterprise via the IdP-initiated link (from Okta dashboard) AND via SP-initiated (direct GitHub Enterprise login URL). Both should work. Check the SAML Tracer browser extension or SAML decoder to inspect the assertion if anything fails.

Attribute mapping

What flows from where.

Source (Okta)Target (GitHub Enterprise)Note
user.emailNameIDPersistent format
user.emailemails—
user.firstName + lastNamename—
user.usernameuserName—
Common gotchas
  • Clock skew: Okta and GitHub Enterprise clocks must be within ~5 minutes. NTP-sync both. SAML's NotBefore + NotOnOrAfter are strict.
  • NameID format mismatches are the most common failure. GitHub Enterprise typically wants EmailAddress; Okta defaults vary. Mismatch → cryptic "invalid assertion" errors.
  • Just-in-time (JIT) provisioning vs SCIM: many apps support both. SAML JIT creates the user on first SSO; SCIM creates them ahead of time. Pick one — both can cause attribute drift.
  • Audience restriction: GitHub Enterprise's expected Audience URI must match exactly what the IdP sends. Trailing slashes + protocol (http vs https) matter.
  • Signed Response vs signed Assertion: many SPs require the Assertion to be signed (not just the Response envelope). Check the SP's docs.
  • GitHub usernames are user-chosen — they may not match your Okta userName field. SCIM uses email for matching, not username.
  • PATs (Personal Access Tokens) are separate from SAML. Users still create their own PATs; SAML controls login but not API tokens.
  • GitHub Enterprise Cloud + Enterprise Server have different SAML setups. Cloud uses one config per organization or enterprise; Server is one config per instance.
Testing checklist
  • IdP-initiated SSO works (sign in from the IdP dashboard)
  • SP-initiated SSO works (visit GitHub Enterprise directly + get redirected to IdP)
  • User attributes flow through correctly (email, name, groups)
  • Logout (single logout if supported) works as expected
  • Step-up MFA fires when policy requires it
  • Unauthorized users (not assigned to the app) get a clean denied message
  • Capture a successful SAML response and inspect it (use the SAML decoder tool)
Vendor documentation

For the latest vendor-side configuration changes, refer to:

GitHub Enterprise SAML SSO →
Need help with this integration?

We staff + deliver IAM integrations.

Talk to an integration engineerMore integration guides

Identity, cybersecurity, and custom software for regulated enterprises. Audit-ready operations from advisory through audit.

Americas HQ

Wilmington, DE

America/New York

India HQ

Hyderabad, TG

Asia/Kolkata

Services
  • IAM Consulting
  • IAM Technologies
  • Custom Software & AI
  • IAM Staffing
  • Request Services
  • Case Studies
Resources
  • All Resources
  • Complete Guide to IAM
  • IAM Frameworks Compared
  • IAM Certification Roadmap
  • IAM API Hub
  • IAM Explainers
  • IAM Vendor Status
  • Release Notes
  • State of Identity
  • State of PAM
  • State of IGA
  • State of CIAM
  • State of AI Agent Identity
  • IAM Salary Benchmark
  • Vendor Pricing Index
  • Year in Review 2026
  • Acquisition Tracker
  • Outage Tracker
  • Identity Incidents
  • Vulnerability Tracker
  • Cheat Sheets
  • Standards Explainers
  • Migration Playbooks
  • Audit Checklists
  • Reference Architectures
  • RFP Templates
  • IAM Anti-Patterns
  • Compliance Crosswalk
  • Market Landscape
  • Awesome IAM
  • IAM Glossary
  • Compliance Frameworks
  • Integration Guides
  • Vendor Alternatives
  • IAM by Industry
  • Salary Lookup
  • Directory
Research & media
  • IAM Compensation 2026
  • Vendor Moves Q3 2026
  • Identity Incidents Q3 2026
  • Vendor Security Posture 2026
  • Vendor Pricing 2026
  • AI Citation Tracker
  • Top 50 IAM Tools 2026
  • Podcast
  • Videos
  • Newsletter
  • Newsletter Archive
  • Embed Widgets
Free tools
  • JWT Decoder
  • JWT Signer
  • SAML Decoder
  • SAML Metadata Diff
  • OAuth Flow Visualizer
  • OIDC Debugger
  • OIDC Discovery Validator
  • PKCE Generator
  • WebAuthn Tester
  • Bearer Token Inspector
  • SCIM Validator
  • Password Entropy
  • IAM RFP Template
  • PAM Vendor Selector
  • Maturity Assessment
  • ROI Calculator
  • TCO Calculator
  • MFA Bypass Risk
  • Audit-Prep Burden
  • Quizzes
Company
  • About
  • Leadership
  • Approach
  • Why Choose Us
  • Partners
  • Press Kit
  • Press Topics
  • Global Presence
  • Locations
  • Insights
  • Now
  • Community
  • Open Roles
  • Submit Resume
  • Training
  • Contact

© 2026 askmeidentity, Inc.. Safeguard your digital frontier.

  • Privacy Policy
  • Terms of Service
  • Accessibility