clerk / javascript

Official Javascript repository for Clerk authentication
https://clerk.com
MIT License
1.1k stars 243 forks source link

fix(backend,shared,clerk-js): Improve cookie suffixes #3543

Closed dimkl closed 3 months ago

dimkl commented 3 months ago

Description

Improve the cookie suffixes from the publishableKey to a fixed length 8 char string (hashed substring of publishableKey) to reduce the cookie size. This change will also reduce the handshake payload by ~ 120 bytes.

Checklist

Type of change

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: a84052c69f392cb78ea59cef49adb42b315bc07b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR