-
Notifications
You must be signed in to change notification settings - Fork 365
chore(clerk-js): Extend buildRedirectToHandshake
to accept search params
#6277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…al search parameters for improved observability and add a query parameter for tracking delta between `session.iat` and `client_uat`
🦋 Changeset detectedLatest commit: e54086c The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 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 ↗︎
|
📝 Walkthrough""" WalkthroughThe changes introduce support for adding arbitrary additional query parameters to the handshake redirect URL generated by the Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/elements
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/clerk-react
@clerk/react-router
@clerk/remix
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/themes
@clerk/types
@clerk/upgrade
@clerk/vue
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.changeset/wet-dryers-dance.md (1)
5-6
: Clarify wording and match parameter naming with implementationTiny wording tweaks will make the changeset clearer and prevent confusion:
- Prefer the imperative mood (
Extend
→Extend
, that's fine) but avoid the ambiguous “search params”; use “query parameters” (the term Clerk docs typically use).- The code (and PR description) refer to
client_uat
, notclient.uat
. Using the exact identifier here avoids a potential scavenger-hunt for future readers.Example:
-Extend `buildRedirectToHandshake` to accept search params -and track delta between `session.iat` and `client.uat` in case `iat < uat` +Extend `buildRedirectToHandshake` to accept additional query parameters +and track the delta between `session.iat` and `client_uat` when `iat < uat`
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.changeset/wet-dryers-dance.md
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
- GitHub Check: Formatting | Dedupe | Changeset
- GitHub Check: Build Packages
- GitHub Check: semgrep-cloud-platform/scan
- GitHub Check: semgrep/ci
- GitHub Check: Analyze (javascript-typescript)
Co-authored-by: Tom Milewski <[email protected]>
Extend
buildRedirectToHandshake
to accept additional search parameters for improved observabilityAdd a query parameter for tracking delta between
session.iat
andclient_uat
Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change
Summary by CodeRabbit