Skip to content

Add Entra ID steps for GitHub username and UID/GID sync (EFF-1130) - #585

Draft
tashian wants to merge 1 commit into
mainfrom
carl/eff-1130-entra-ssh-attributes
Draft

tashian wants to merge 1 commit into
mainfrom
carl/eff-1130-entra-ssh-attributes

Conversation

@tashian

@tashian tashian commented Dec 1, 2026

Copy link
Copy Markdown
Member

Describe your changes:

Do not merge until smallstep/scim-server#250 is deployed to production. Before that, scim-server does not use the attribute names in these steps.

  • tutorials/protect-github-ssh.mdx: Add a "Microsoft Entra ID" section. It tells how to sync a githubUsername attribute from Entra ID to Smallstep. Before this change, the page told Entra ID users to contact support. Google Workspace keeps its "contact us" text.
  • ssh/entra-id-gid-uid.mdx (new): An Entra ID UID/GID sync guide, next to the Okta guide.
  • ssh/azure-ad.mdx: Link the new guide from the troubleshooting tips.
  • manifest.json: Add the new guide to the sidebar.

The steps add a directory extension to a user, add a target attribute to the provisioning attribute list, and map the extension to the target attribute. The target attribute names use the urn:ietf:params:scim:schemas:extension:smallstep:2.0:User namespace. Entra ID sends custom attributes on user create only when the name has this form. If you use urn:scim:smallstep:ssh:schema (the Okta namespace), Entra ID does not send the attribute on create.

The Graph requests and the Entra ID screen steps come from the current Microsoft documentation. We did not do these steps end to end with a directory extension in a test tenant.

Related links/other PRs/issues:

🤖 Generated with Claude Code

The GitHub SSH tutorial gave steps for Okta only. For Entra ID, it told
users to contact support. Add steps to sync a githubUsername attribute
from Entra ID.

Add an Entra ID UID/GID sync guide, next to the Okta guide, and link it
from the Entra ID quickstart.

Entra ID sends custom attributes on user create only when the attribute
name has the form urn:ietf:params:scim:schemas:extension:<name>:2.0:User:<attr>.
Thus, the steps use urn:ietf:params:scim:schemas:extension:smallstep:2.0:User,
which scim-server accepts after smallstep/scim-server#250.

Refs EFF-1130: https://linear.app/smallstep/issue/EFF-1130

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant