Is there a way to set active organization in authMiddleware
or other backend code?
#2587
Replies: 1 comment
-
At the moment there isn't, but you can drop an upvote for the feature in our roadmap! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a Next.js app router app and are using the clerk sdk. Based on user's subscription tier we create an organization for them programmatically and on subsequent logins they're switched to the organization on client app load using the
useOrganizationList
hookIs there a way to set the active organization in the backend using the Node.js SDK?
Would love if we could somehow do this in the
authMiddleware
afterAuth
callbackBeta Was this translation helpful? Give feedback.
All reactions