javascript icon indicating copy to clipboard operation
javascript copied to clipboard

feat(backend,shared,clerk-js): Support suffixed cookies [CORE-2086]

Open dimkl opened this issue 1 year ago • 1 comments

Description

Generate suffixed and un-suffixed __client_uat (in dev instance), __session, __clerk_db_jwt (In dev instance) cookies from ClerkJS and support reading the either the suffixed or the un-suffixed cookies in the backend SDK using the __client_uat & __session cookies. New ClerkJS versions will generate both suffixed and un-suffixed cookies but the backend SDK will consume only 1 of those 2.

Checklist

  • [ ] npm test runs as expected.
  • [ ] npm run build runs as expected.
  • [ ] (If applicable) JSDoc comments have been added or updated for any package exports
  • [ ] (If applicable) Documentation has been updated

Type of change

  • [ ] 🐛 Bug fix
  • [ ] 🌟 New feature
  • [ ] 🔨 Breaking change
  • [ ] 📖 Refactoring / dependency upgrade / documentation
  • [ ] other:

dimkl avatar Jun 03 '24 17:06 dimkl

🦋 Changeset detected

Latest commit: 4b3e2e1a5ce40c16db248e77bc55bcbb67e29be9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
@clerk/clerk-js Minor
@clerk/backend Minor
@clerk/shared Minor
@clerk/astro Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/tanstack-start Patch
@clerk/testing Patch
@clerk/elements Patch
@clerk/clerk-react Patch

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

changeset-bot[bot] avatar Jun 03 '24 17:06 changeset-bot[bot]

Closing this one manually as GH is partially down - the commit is already into main

nikosdouvlis avatar Jul 17 '24 16:07 nikosdouvlis