VladV
Convex Communityβ€’2y agoβ€’
4 replies
Vlad

How to get orgId from Clerk in Convex?

I updated JWT template to include orgId, however const identity = await ctx.auth.getUserIdentity() still returns this:
[CONVEX Q(runs:getRecentRuns)] [LOG] 'identity' {
  tokenIdentifier: 'https://adjusted-cowbird-51.clerk.accounts.dev|user_2ihkVxcSCfujFgFa3yGBbx9jr05',
  issuer: 'https://adjusted-cowbird-51.clerk.accounts.dev',
  subject: 'user_2ihkVxcSCfujFgFa3yGBbx9jr05',
  name: 'Bakhteev Vladislav',
  givenName: 'Bakhteev',
  familyName: 'Vladislav',
  nickname: 'vbakhteev',
  pictureUrl: 'https://img.clerk.com/eyJ0eXBlIjoicHJveHkiLCJzcmMiOiJodHRwczovL2ltYWdlcy5jbGVyay5kZXYvb2F1dGhfZ2l0aHViL2ltZ18yaWhrVnUzR3hBRkl1RnR1N2FKMHFmaTB1ZmYifQ',
  email: 'email@email.email',
  emailVerified: true,
  updatedAt: '2024-07-03T05:21:28+00:00'
}
image.png
Was this page helpful?