Skip to content

fix(clerk-js): Handle single part hostnames in getCookieDomain() - #3357

Merged
LekoArts merged 2 commits into
mainfrom
brk.fix/get-cookie-domain-single-host-name-part
May 10, 2024
Merged

fix(clerk-js): Handle single part hostnames in getCookieDomain()#3357
LekoArts merged 2 commits into
mainfrom
brk.fix/get-cookie-domain-single-host-name-part

Conversation

@brkalow

@brkalow brkalow commented May 9, 2024

Copy link
Copy Markdown
Member

Description

Handle single-part hostnames when determining the cookie domain. This is necessary for custom hosts defined locally in /etc/hosts, e.g.

127.0.0.1 local-app

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:

@changeset-bot

changeset-bot Bot commented May 10, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fe3c0da

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

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo 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

@LekoArts
LekoArts enabled auto-merge (squash) May 10, 2024 07:17
@LekoArts
LekoArts merged commit 56c8562 into main May 10, 2024
@LekoArts
LekoArts deleted the brk.fix/get-cookie-domain-single-host-name-part branch May 10, 2024 07:25
@clerk-cookie clerk-cookie mentioned this pull request May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants