- Admin privileges for the GitHub organization.
- Okta administrator access to create groups, API tokens, and assign applications.
- Organization-level SSO and security controls enabled in GitHub (for example, 2FA and SAML/SSO).
- A GitHub Enterprise Cloud application configured in Okta.
- Create the GitHub team.
- Create a corresponding Okta group and add members.
- Enable team synchronization in the GitHub organization settings.
- Create an Okta API token (SSWS) and note your Okta Org URL.
- Assign the Okta group to the GitHub application.
- Map the Okta group to the GitHub team and save.
- Observe synchronization and complete the join flow.
- In your GitHub organization, create a new team for the members who should be managed by Okta. For this demo the team is named “Console-Dev” (short: dev).
- Configure Parent team (if applicable), visibility, and notification preferences, then create the team.
- Initially, the team creator (e.g., Alice) is the only member.
- In Okta, create a group that represents the users you want synchronized into the GitHub team. Example name: “GitHub Engineers”.
- Add the users (for example, Dev1 and Dev2) who should belong to the GitHub team, then save.

- After saving the group, assign the intended users to it.

- Team synchronization is configured at the organization level. In your GitHub Organization Settings, open Authentication security.
- Verify required security controls are enabled (for example, 2FA and SSO/SAML).
- At the bottom of the Authentication security section you should see Team synchronization — this is the feature that enables an identity provider to manage team membership.

- In the Okta Admin Console go to Security > API > Tokens to create an API token. This token (SSWS token) is used by GitHub to call Okta APIs for group membership synchronization.
- Copy your Okta Org (base) URL — the API base URL GitHub will call (for example,
https://dev-123456.okta.com). Do not use internal admin console endpoints; use the organization/base URL or the issuer URL required by the integration. - Optionally restrict the token by IP address; in this demo the token is allowed from any IP.
Store your SSWS token securely and restrict its scope and network access when possible. Treat this token like a password.

- In Okta, open the GitHub Enterprise Cloud (GEC) application that represents your GitHub org integration and go to Assignments.
- Assign the “GitHub Engineers” group to the GitHub application so those users are authorized/provisioned for the organization.

- In GitHub, open the Console-Dev team Settings. You should now see an option to select an Identity Provider Group.
- Search for and select the “GitHub Engineers” group (the Okta group you created) and click Save changes. This configures GitHub to manage the team membership from Okta.
Ensure the selected Okta group is the correct one and that the GitHub app assignment in Okta includes that group. Mapping the wrong group can grant unintended access.

- After mapping the identity provider group, GitHub will show the team as managed by Okta. Synchronization timing depends on provisioning configuration and SSO authentication by users.
- Users in the Okta group will receive invitations to join the organization/team. They must authenticate via SSO to accept and complete the join.

- Initial sync may show only a subset of users immediately; provisioning and SSO authentication can complete asynchronously. In this demo one member was visible quickly and others followed.

- If members are not appearing:
- Verify the Okta group is assigned to the GitHub app and the assignment is active.
- Confirm the SSWS token and Okta Org URL are correct in the GitHub team-sync settings.
- Check users have completed SSO authentication and accepted organization invitations.
- For token issues, revoke and re-create the token in Okta and update the integration.
- Review Okta and GitHub logs to surface provisioning errors.
Links and references
- Okta documentation: https://developer.okta.com/docs/
- GitHub authentication and SAML SSO: https://docs.github.com/en/organizations
- Create the GitHub team and a corresponding Okta group.
- Generate an Okta SSWS token and copy the correct Okta Org URL.
- Assign the Okta group to the GitHub application in Okta.
- Map the Identity Provider Group to the GitHub team and save.
- Wait for synchronization; ensure users accept invitations and log in via SSO.