























Use an organization slug in your application URL to automatically set the active Clerk organization.
clerkMiddleware() now supports configuration to detect an organization by slug in a request's URL and automatically set that organization as active for the current session. Any client-side logic to handle syncing a session's active organization with the current URL can now be removed!
To start using URL-based active organization syncing, see the clerkMiddleware() documentation.
To learn more about best practices for using organization slugs to manage the active organization, check out the new guide.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。