feat(clerk-js): Add Frontend API URL to allowed redirect origins#4767
Conversation
🦋 Changeset detectedLatest commit: 42cd798 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
9a085ba to
51eaec6
Compare
|
Hey @kostaspt - 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/astro@2.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/backend@1.21.1-snapshot.v20241212141113 --save-exact
npm i @clerk/chrome-extension@2.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/clerk-js@5.42.0-snapshot.v20241212141113 --save-exact
npm i @clerk/elements@0.22.1-snapshot.v20241212141113 --save-exact
npm i @clerk/clerk-expo@2.5.1-snapshot.v20241212141113 --save-exact
npm i @clerk/expo-passkeys@0.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/express@1.3.28-snapshot.v20241212141113 --save-exact
npm i @clerk/fastify@2.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/localizations@3.9.1-snapshot.v20241212141113 --save-exact
npm i @clerk/nextjs@6.9.1-snapshot.v20241212141113 --save-exact
npm i @clerk/nuxt@0.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/clerk-react@5.20.1-snapshot.v20241212141113 --save-exact
npm i @clerk/react-router@0.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/remix@4.4.1-snapshot.v20241212141113 --save-exact
npm i @clerk/clerk-sdk-node@5.1.1-snapshot.v20241212141113 --save-exact
npm i @clerk/shared@2.20.1-snapshot.v20241212141113 --save-exact
npm i @clerk/tanstack-start@0.8.1-snapshot.v20241212141113 --save-exact
npm i @clerk/testing@1.4.1-snapshot.v20241212141113 --save-exact
npm i @clerk/themes@2.2.1-snapshot.v20241212141113 --save-exact
npm i @clerk/types@4.39.3-snapshot.v20241212141113 --save-exact
npm i @clerk/ui@0.3.1-snapshot.v20241212141113 --save-exact
npm i @clerk/vue@0.1.1-snapshot.v20241212141113 --save-exact |
d820dde to
5a69ed2
Compare
|
Hello 👋 We currently close PRs after 60 days of inactivity. It's been 50 days since the last update here. If we missed this PR, please reply here. Otherwise, we'll close this PR in 10 days. Thanks for being a part of the Clerk community! 🙏 |
5a69ed2 to
b28f9c3
Compare
|
!snapshot |
|
Hey @kostaspt - 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/chrome-extension@2.2.7-snapshot.v20250205111539 --save-exact
npm i @clerk/clerk-js@5.52.1-snapshot.v20250205111539 --save-exact
npm i @clerk/clerk-expo@2.7.5-snapshot.v20250205111539 --save-exact |
b28f9c3 to
42cd798
Compare
Description
createAllowedRedirectOriginsnow takes the instance type into account to include the Frontend API URL for development instances.This came up while releasing the new version of Clerk as an IdP, which requires a redirect to
{frontendApi}/oauth/authorize. For local development, this previously had to be manually added to the allowed origins. Since it's a safe URL to include by default, it makes sense to add it everytime for development instances.Fixes: SDK-2033
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change