Skip to content

Conversation

@im2nguyen
Copy link

@im2nguyen im2nguyen commented Oct 31, 2025

🔎 Previews:

https://clerk.com/docs/pr/im2nguyen-refactor-org-docs/guides/organizations/overview

⚠️ Relies on clerk/javascript#7115

This PR updates the Organization docs so the value proposition is clear. In addition, it breaks apart the current "Overview" page so it's easier to parse.

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

@im2nguyen im2nguyen requested a review from a team as a code owner October 31, 2025 11:11
@vercel
Copy link

vercel bot commented Oct 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
clerk-docs Error Error Nov 5, 2025 10:46pm

@github-actions
Copy link
Contributor

⚠️ TypeDoc files detected in this PR

This PR modifies files in the 'clerk-typedoc/' folder. These files are auto-generated from the clerk/javascript repository and should not be edited directly.

To make changes to TypeDoc documentation:

  1. 🔄 Make your changes in the appropriate files in the clerk/javascript repository.
  2. 🚀 The TypeDoc documentation will be pulled through to this repository via a CI action.

Thanks for contributing! 🙏

@alexisintech
Copy link
Member

  • get this PR fully reviewed
  • once its ready to ship, don't ship just yet! get the clerk/javascript PR ready to ship
  • then get clerk/javascript PR merged FIRST!
  • then this PR gets merged last

@alexisintech alexisintech self-assigned this Oct 31, 2025
@@ -144,3 +155,12 @@ Use the following tabs to see examples for each method.
To use the JS Backend SDK to revoke an organization invitation, see the [`revokeOrganizationInvitation()`](/docs/reference/backend/organization/revoke-organization-invitation) reference documentation.
</Tab>
</Tabs>

## Next steps
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love this addition 😸💖


> [!IMPORTANT]
> Personal accounts being disabled by default was released on August 22, 2025. Applications created before this date will not be able to see the **Allow personal accounts** setting, because personal account were enabled by default.
Organizations live within your Clerk application. Each application can contain multiple organizations, and each organization can have multiple users. You define roles and permissions once at the application level, and they apply across all organizations within that application.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loveeee!!

Organizations live within your Clerk application. Each application can contain multiple organizations, and each organization can have multiple users. You define roles and permissions once at the application level, and they apply across all organizations within that application.

## Organization slugs
![Relationship between Clerk organization, users, roles and permissions](/docs/images/orgs/relationship-diagram.png)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we want to keep this diagram, lets give it to our design team so they can flair it up with our clerk magic

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already have a ticket with Joshua to refresh this!


This feature requires that [**Email** is enabled](/docs/guides/configure/auth-strategies/sign-up-sign-in-options#email), as Clerk uses the user's email address to send the invitation. You can still disable **Email** as a sign-in option if you do not want users to be able to sign-in with their email address.

To configure your application's **Email** settings, navigate to the [**User & authentication**](https://dashboard.clerk.com/~/user-authentication/user-and-authentication) page in the Clerk Dashboard.

## When to use invitations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool addition!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not convinced on this guide! We already have /authorization-checks
could you give me some of your thought process behind introducing this guide?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the goal of having these "verb/" landing pages is for people who are completely unfamiliar with orgs to reorientate themselves

for example, adding members to your orgs. we support different ways to do that: invitations, verified domains (automatic suggestion/invitations), ent connections

based on the url itself, folks can grok/understand what the feature is doing

similar thing for "check-access", it's not supposed to be a top level. what the user cares about is "/control-access", to do that, they need to set up roles and permissions then checking access. the /authorization-check page is great but it covers authz checks in general (not org focused)

the check-access page should link out to /authorization-check and vice versa

@alexisintech
Copy link
Member

I've left my docs review! take a look at the commit diff to see the changes :)

I really like a lot of the additions/updates. We have a ticket in our Linear board to pull apart the organizations overview, I'm really glad that you got to tackle this - it's a great way to get comfortable with the organizations feature, and with our docs and how our voice/style is, and contributing to the docs in general. Overall, I think you're a great writer! You have a great eye for the overall organization of a doc, and how to present information to users. I loved this 😸💖

Some major things I changed:

  • leaving the paths flat (not adding /add-members and /control-access). a few reasons for this: i'd like to keep these pages top level and not hidden under drop down menus. also, i'm not convinced on the "check-access" guide as we already have "authorization-checks" and we should simply point to and rely on that guide (but waiting to hear your thought process here). also, a bonus, it saves us from having to create redirects and possibly from updating typedoc comments (haven't checked this part yet)!
  • "organization" is a clerk feature, but we keep it lowercase in the docs

I'm not sold on the overview - I think the "core flow" section needs a bit more work. I think the "Why organizations?" section is too marketing-y, very fluffy, and too much visual noise.

but that's something we can chat about/tackle next week, because its friday and I'm logging off 🫡

if you have any questions at all about any of the updates I made, please don't hesitate to discuss with me. they are allllll open for discussion/change!

@alexisintech
Copy link
Member

alexisintech commented Nov 5, 2025

I've updated these again -

Overview:

  • Removed the "Why organizations" section as I had mentioned before, its very market-y and feels like overkill/visual noise in the docs
  • Added links where they needed to be referenced
  • Updated the list to be "Create", "Add members", and "Control access" - as you described you'd like to see it laid out for users.

Metadata:

unfortunately, I'm still not sold on the check-access guide for the reasons I mentioned - but I've updated the list in the overview to follow the structure you mentioned (regarding "add members" and "control access"), and pointed to the /authorization-checks guide. but I see where you're coming from and don't want to undermine your contribution!!! so lets ask for a third opinion @SarahSoutoul

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.

3 participants