Rune DarkfireR
Convex Community17mo ago
4 replies
Rune Darkfire

OrganizationSwitcher from clerk not propogating org_id to convex getUserIdentity call

Perhaps I'm misunderstanding this technology, but I thought that you could use the OrganizationSwitcher component in clerk (assuming the org_id claim is set up in the jwt settings) to "tell" the user called from the getUserIdentity call in convex which org it is on (https://clerk.com/docs/components/organization/organization-switcher). That way, I don't have to deal with messy / arbitrary passing of orgIds & userIds from the front-end. Is there actually a correct way to do this?
Was this page helpful?