fix(shared,backend): Allow for old org_role format in JWT v1 where org: is missing#5988
Conversation
🦋 Changeset detectedLatest commit: 39cfe5d The changes in this PR will be included in the next version bump. This PR includes changesets to release 19 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
!snapshot |
|
Hey @panteliselef - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.0.39-snapshot.v20250523002046 --save-exact
npm i @clerk/astro@2.8.1-snapshot.v20250523002046 --save-exact
npm i @clerk/backend@1.33.1-snapshot.v20250523002046 --save-exact
npm i @clerk/chrome-extension@2.4.9-snapshot.v20250523002046 --save-exact
npm i @clerk/clerk-js@5.67.4-snapshot.v20250523002046 --save-exact
npm i @clerk/elements@0.23.30-snapshot.v20250523002046 --save-exact
npm i @clerk/clerk-expo@2.11.9-snapshot.v20250523002046 --save-exact
npm i @clerk/expo-passkeys@0.3.7-snapshot.v20250523002046 --save-exact
npm i @clerk/express@1.5.1-snapshot.v20250523002046 --save-exact
npm i @clerk/fastify@2.2.22-snapshot.v20250523002046 --save-exact
npm i @clerk/localizations@3.16.2-snapshot.v20250523002046 --save-exact
npm i @clerk/nextjs@6.20.1-snapshot.v20250523002046 --save-exact
npm i @clerk/nuxt@1.6.8-snapshot.v20250523002046 --save-exact
npm i @clerk/clerk-react@5.31.7-snapshot.v20250523002046 --save-exact
npm i @clerk/react-router@1.4.7-snapshot.v20250523002046 --save-exact
npm i @clerk/remix@4.7.7-snapshot.v20250523002046 --save-exact
npm i @clerk/shared@3.9.4-snapshot.v20250523002046 --save-exact
npm i @clerk/tanstack-react-start@0.15.7-snapshot.v20250523002046 --save-exact
npm i @clerk/testing@1.7.4-snapshot.v20250523002046 --save-exact
npm i @clerk/themes@2.2.47-snapshot.v20250523002046 --save-exact
npm i @clerk/types@4.59.2-snapshot.v20250523002046 --save-exact
npm i @clerk/vue@1.8.5-snapshot.v20250523002046 --save-exact |
@clerk/agent-toolkit
@clerk/astro
@clerk/chrome-extension
@clerk/dev-cli
@clerk/backend
@clerk/elements
@clerk/clerk-js
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/clerk-react
@clerk/react-router
@clerk/remix
@clerk/tanstack-react-start
@clerk/testing
@clerk/shared
@clerk/themes
@clerk/types
@clerk/upgrade
@clerk/vue
commit: |
d712841 to
8e4ec7e
Compare
…le-formatting-from-jwt-v1
Description
Bug fix: In
createCheckAuthorizationallow for oldorg_roleformat in JWT v1 whereorg:is missing.Example session claims:
{ "org_id": "org_xxxx", "org_permissions": [], "org_role": "admin", "org_slug": "test" }Code
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change