clerk / javascript

Official Javascript repository for Clerk authentication
https://clerk.com
MIT License
981 stars 221 forks source link

fix(nextjs,backend): Support handshake in iframes #3555

Closed anagstef closed 2 weeks ago

anagstef commented 1 month ago

Description

Adds support for handshake inside iframes.

This PR makes requests that have the Sec-Fetch-Dest value set to iframe to be eligible for handshake.

Checklist

Type of change

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 203414f02276b68076c5e4bab41ba31192195ddb

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

This PR includes changesets to release 9 packages | Name | Type | | --------------------- | ----- | | @clerk/backend | Patch | | @clerk/nextjs | Patch | | @clerk/astro | Patch | | @clerk/express | Patch | | @clerk/fastify | Patch | | @clerk/remix | Patch | | @clerk/clerk-sdk-node | Patch | | @clerk/tanstack-start | Patch | | @clerk/testing | 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

anagstef commented 1 month ago

!snapshot

clerk-cookie commented 1 month ago
Hey @anagstef - the snapshot version command generated the following package versions: Package Version
@clerk/backend 1.3.0-snapshot.v1ec5424
@clerk/chrome-extension 1.0.18-snapshot.v1ec5424
@clerk/clerk-js 5.7.0-snapshot.v1ec5424
@clerk/elements 0.7.0-snapshot.v1ec5424
@clerk/clerk-expo 1.2.1-snapshot.v1ec5424
@clerk/express 0.0.12-snapshot.v1ec5424
@clerk/fastify 1.0.14-snapshot.v1ec5424
gatsby-plugin-clerk 5.0.0-beta.45
@clerk/nextjs 5.2.0-snapshot.v1ec5424
@clerk/clerk-react 5.2.4-snapshot.v1ec5424
@clerk/remix 4.1.1-snapshot.v1ec5424
@clerk/clerk-sdk-node 5.0.11-snapshot.v1ec5424
@clerk/shared 2.3.0-snapshot.v1ec5424
@clerk/tanstack-start 0.1.1-snapshot.v1ec5424
@clerk/testing 1.1.7-snapshot.v1ec5424
@clerk/ui 0.1.1-snapshot.v1ec5424

Tip: Use the snippet copy button below to quickly install the required packages. @clerk/backend

npm i @clerk/backend@1.3.0-snapshot.v1ec5424 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.0.18-snapshot.v1ec5424 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.7.0-snapshot.v1ec5424 --save-exact

@clerk/elements

npm i @clerk/elements@0.7.0-snapshot.v1ec5424 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@1.2.1-snapshot.v1ec5424 --save-exact

@clerk/express

npm i @clerk/express@0.0.12-snapshot.v1ec5424 --save-exact

@clerk/fastify

npm i @clerk/fastify@1.0.14-snapshot.v1ec5424 --save-exact

gatsby-plugin-clerk

npm i gatsby-plugin-clerk@5.0.0-beta.45 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@5.2.0-snapshot.v1ec5424 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.2.4-snapshot.v1ec5424 --save-exact

@clerk/remix

npm i @clerk/remix@4.1.1-snapshot.v1ec5424 --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.11-snapshot.v1ec5424 --save-exact

@clerk/shared

npm i @clerk/shared@2.3.0-snapshot.v1ec5424 --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.1.1-snapshot.v1ec5424 --save-exact

@clerk/testing

npm i @clerk/testing@1.1.7-snapshot.v1ec5424 --save-exact

@clerk/ui

npm i @clerk/ui@0.1.1-snapshot.v1ec5424 --save-exact
anagstef commented 1 month ago

!snapshot

anagstef commented 2 weeks ago

!snapshot

clerk-cookie commented 2 weeks ago
Hey @anagstef - the snapshot version command generated the following package versions: Package Version
@clerk/astro 0.0.2-snapshot.v27f3f6b
@clerk/backend 1.3.1-snapshot.v27f3f6b
@clerk/chrome-extension 1.1.3-snapshot.v27f3f6b
@clerk/clerk-js 5.8.1-snapshot.v27f3f6b
@clerk/clerk-expo 1.2.6-snapshot.v27f3f6b
@clerk/express 0.0.16-snapshot.v27f3f6b
@clerk/fastify 1.0.18-snapshot.v27f3f6b
gatsby-plugin-clerk 5.0.0-beta.45
@clerk/nextjs 5.2.3-snapshot.v27f3f6b
@clerk/remix 4.2.2-snapshot.v27f3f6b
@clerk/clerk-sdk-node 5.0.15-snapshot.v27f3f6b
@clerk/tanstack-start 0.1.6-snapshot.v27f3f6b
@clerk/testing 1.1.10-snapshot.v27f3f6b

Tip: Use the snippet copy button below to quickly install the required packages. @clerk/astro

npm i @clerk/astro@0.0.2-snapshot.v27f3f6b --save-exact

@clerk/backend

npm i @clerk/backend@1.3.1-snapshot.v27f3f6b --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.1.3-snapshot.v27f3f6b --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.8.1-snapshot.v27f3f6b --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@1.2.6-snapshot.v27f3f6b --save-exact

@clerk/express

npm i @clerk/express@0.0.16-snapshot.v27f3f6b --save-exact

@clerk/fastify

npm i @clerk/fastify@1.0.18-snapshot.v27f3f6b --save-exact

gatsby-plugin-clerk

npm i gatsby-plugin-clerk@5.0.0-beta.45 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@5.2.3-snapshot.v27f3f6b --save-exact

@clerk/remix

npm i @clerk/remix@4.2.2-snapshot.v27f3f6b --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.15-snapshot.v27f3f6b --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.1.6-snapshot.v27f3f6b --save-exact

@clerk/testing

npm i @clerk/testing@1.1.10-snapshot.v27f3f6b --save-exact
anagstef commented 2 weeks ago

!snapshot

clerk-cookie commented 2 weeks ago
Hey @anagstef - the snapshot version command generated the following package versions: Package Version
@clerk/astro 0.0.2-snapshot.v88c02de
@clerk/backend 1.3.1-snapshot.v88c02de
@clerk/chrome-extension 1.1.3-snapshot.v88c02de
@clerk/clerk-js 5.8.1-snapshot.v88c02de
@clerk/clerk-expo 1.2.6-snapshot.v88c02de
@clerk/express 0.0.16-snapshot.v88c02de
@clerk/fastify 1.0.18-snapshot.v88c02de
gatsby-plugin-clerk 5.0.0-beta.45
@clerk/nextjs 5.2.3-snapshot.v88c02de
@clerk/remix 4.2.2-snapshot.v88c02de
@clerk/clerk-sdk-node 5.0.15-snapshot.v88c02de
@clerk/tanstack-start 0.1.6-snapshot.v88c02de
@clerk/testing 1.1.10-snapshot.v88c02de

Tip: Use the snippet copy button below to quickly install the required packages. @clerk/astro

npm i @clerk/astro@0.0.2-snapshot.v88c02de --save-exact

@clerk/backend

npm i @clerk/backend@1.3.1-snapshot.v88c02de --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@1.1.3-snapshot.v88c02de --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.8.1-snapshot.v88c02de --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@1.2.6-snapshot.v88c02de --save-exact

@clerk/express

npm i @clerk/express@0.0.16-snapshot.v88c02de --save-exact

@clerk/fastify

npm i @clerk/fastify@1.0.18-snapshot.v88c02de --save-exact

gatsby-plugin-clerk

npm i gatsby-plugin-clerk@5.0.0-beta.45 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@5.2.3-snapshot.v88c02de --save-exact

@clerk/remix

npm i @clerk/remix@4.2.2-snapshot.v88c02de --save-exact

@clerk/clerk-sdk-node

npm i @clerk/clerk-sdk-node@5.0.15-snapshot.v88c02de --save-exact

@clerk/tanstack-start

npm i @clerk/tanstack-start@0.1.6-snapshot.v88c02de --save-exact

@clerk/testing

npm i @clerk/testing@1.1.10-snapshot.v88c02de --save-exact