-
Notifications
You must be signed in to change notification settings - Fork 65k
Description
What article on docs.github.com is affected?
- About identity and access management with SAML single sign-on
- Enabling and testing SAML single sign-on for your organization
- Enabling SAML single sign-on for organizations in your enterprise account
- Preparing to enforce SAML single sign-on in your organization
What part(s) of the article would you like to see updated?
In all of these docs, the consequences of "enabling" versus those of "enforcing" are not properly specified, and there are specific sections that actively cause confusion. The fact that Enterprise and Organization level SAML configurations have dramatically different behavior compounds the issue.
In Enabling and testing SAML single sign-on for your organization, the docs state:
If you enable but don't enforce SAML SSO, organization members who choose not to use SAML SSO can still be members of the organization.
The mechanisms for how exactly this works, and how the behavior can be observed by an administrator, should be documented. A paragraph such as:
Users who have not yet linked their SAML provider will see the a banner like the following prompting them to link their account:
After linking their SAML identity, users will not be able access any organization resources without an active SSO session. To see the banner again, for testing purposes or otherwise, go to your user SSO details page within the organization at
https://github.com/orgs/{my-enterprise-org}/people/{my-github-username}/ssoand press the "revoke" button:
You will now be able to observe resources and go through the authentication flow again.
With details on the differences in configuration between enterprise and org level SAML noted somewhere as well:
Note: Enterprise-level SAML SSO differently from Organization-level SSO. At the Enterprise level, there is only a single "SSO Enabled" state, where all enterprise members must pass through SSO to access resources, but no members are removed from the organization for neglecting to do so.
I'd also recommend tuning the phrasing in Enabling SAML single sign-on for organizations in your enterprise account where the docs refer to "enforcing the setting," to avoid the term "enforce" in a context where its technical sense might be expected.
I linked all articles that I think should should note or link to a more detailed description of the effects of these settings.
Additional information
I'll just say that having more rigorous docs on these features would have saved a lot of overhead and confusion, and that I believe this should be a priority as it will help other users avoid troubleshooting security settings for production systems.

