Add SSO and Authentication documentation for enterprise users#441
Add SSO and Authentication documentation for enterprise users#441samgutentag wants to merge 2 commits intomainfrom
Conversation
New comprehensive SSO guide covering setup steps, team access management, troubleshooting, and FAQ. Cross-links from Account Setup, Managing your Organization, and Billing pages. Closes TRUNK-16793 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @samgutentag's task in 2m 3s —— View job PR Review: SSO and Authentication Documentation
SummaryThis is a well-structured, clearly written documentation addition that addresses a real pain point (TRUNK-16793). The step-by-step setup guide, troubleshooting section, and FAQ are all valuable. The cross-links to existing pages are accurate. Issues FoundI left 4 inline comments — all minor suggestions, no blocking issues:
Other Observations
Overall this is solid documentation — approve with the minor suggestions above. |
| Trunk supports Single Sign-On (SSO) for enterprise organizations that need centralized authentication and access control. This guide covers how to set up your Trunk organization with SSO, manage user access, and handle common enterprise authentication scenarios. | ||
|
|
||
| {% hint style="info" %} | ||
| SSO is available on the [Enterprise plan](billing.md). To enable SSO for your organization, contact [sales@trunk.io](mailto:sales@trunk.io). |
There was a problem hiding this comment.
The link goes to the top of the billing page. Linking directly to the Enterprise plan section would be more helpful for readers.
| SSO is available on the [Enterprise plan](billing.md). To enable SSO for your organization, contact [sales@trunk.io](mailto:sales@trunk.io). | |
| SSO is available on the [Enterprise plan](billing.md#enterprise-plan). To enable SSO for your organization, contact [sales@trunk.io](mailto:sales@trunk.io). |
|
|
||
| After SSO is configured, the organization administrator should: | ||
|
|
||
| 1. Go to [app.trunk.io/signup](https://app.trunk.io/signup) and sign in using your SSO-linked email address. |
There was a problem hiding this comment.
This says "sign in" but links to /signup. Since this step is for the admin who may already have an account, app.trunk.io/signup can be confusing. Consider linking to the main app URL instead:
| 1. Go to [app.trunk.io/signup](https://app.trunk.io/signup) and sign in using your SSO-linked email address. | |
| 1. Go to [app.trunk.io](https://app.trunk.io) and sign in using your SSO-linked email address. |
|
|
||
| ### My account is linked to the wrong email | ||
|
|
||
| If you accidentally created your Trunk account with a personal email instead of your corporate email (for example, by signing in with GitHub OAuth instead of SSO), contact [support@trunk.io](mailto:support@trunk.io) to update your account email. |
There was a problem hiding this comment.
Minor phrasing nit: "instead of SSO" is slightly awkward. Consider:
| If you accidentally created your Trunk account with a personal email instead of your corporate email (for example, by signing in with GitHub OAuth instead of SSO), contact [support@trunk.io](mailto:support@trunk.io) to update your account email. | |
| If you accidentally created your Trunk account with a personal email instead of your corporate email (for example, by signing in with GitHub OAuth instead of using SSO), contact [support@trunk.io](mailto:support@trunk.io) to update your account email. |
| Yes. Your organization can have members who sign in with SSO and others who sign in with OAuth. However, for consistent identity management, we recommend that enterprise organizations use SSO as their primary authentication method. | ||
|
|
||
| **What happens if SSO goes down?**\ | ||
| If your identity provider experiences an outage, users who previously signed in via OAuth will still be able to access Trunk using their OAuth credentials. Contact [support@trunk.io](mailto:support@trunk.io) if you need emergency access. |
There was a problem hiding this comment.
This answer only addresses users who previously signed in via OAuth, but doesn't clarify what happens to SSO-only users during an outage (they may be completely locked out). Consider expanding:
| If your identity provider experiences an outage, users who previously signed in via OAuth will still be able to access Trunk using their OAuth credentials. Contact [support@trunk.io](mailto:support@trunk.io) if you need emergency access. | |
| **What happens if SSO goes down?**\ | |
| If your identity provider experiences an outage, users who previously signed in via OAuth will still be able to access Trunk using their OAuth credentials. Users who are SSO-only may be unable to sign in until the outage is resolved. Contact [support@trunk.io](mailto:support@trunk.io) if you need emergency access. |
|
/trunk merge |
|
🚫 This pull request was closed by @samgutentag, so it was removed from the merge queue. See more details here. |
|
Closing — generated by an earlier version of the docs pipeline. Will re-run with updated skill. |
Summary
Test plan
Closes TRUNK-16793
🤖 Generated with Claude Code