René's URL Explorer Experiment


Title: fix(backend): Return TokenVerificationError from decodeJwt for undecodable tokens by wobsoriano · Pull Request #9268 · clerk/javascript · GitHub

Open Graph Title: fix(backend): Return TokenVerificationError from decodeJwt for undecodable tokens by wobsoriano · Pull Request #9268 · clerk/javascript

X Title: fix(backend): Return TokenVerificationError from decodeJwt for undecodable tokens by wobsoriano · Pull Request #9268 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(backend): Return TokenVerificationError from decodeJwt for undecodable tokens by wobsoriano · Pull Request #9268 · clerk/javascript

Open Graph Description: Description decodeJwt checks that a token has three dot-separated segments, but the base64url.parse and JSON.parse calls after that check were unguarded. A token like aaa.bbb.ccc threw a raw Syntax...

X Description: Description decodeJwt checks that a token has three dot-separated segments, but the base64url.parse and JSON.parse calls after that check were unguarded. A token like aaa.bbb.ccc threw a raw Syntax...

Opengraph URL: https://github.com/clerk/javascript/pull/9268

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:849f2618-c54d-f2b2-276d-465307c5b396
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6EA:31FA58:11373CF:17E9C9C:6AFAD409
html-safe-nonce4716c4cd8f3e6deee166a6fedda0c1215b402f71ac440943594267ab854e12c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkVBOjMxRkE1ODoxMTM3M0NGOjE3RTlDOUM6NkFGQUQ0MDkiLCJ2aXNpdG9yX2lkIjoiNTkzNDY2MDQwMjY1NzU0NzI3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac01c377f6492a32696c8f23338e49471f685052441156a524ac7d060f6060abf1
hovercard-subject-tagpull_request:4157013016
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/9268/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/348629e70ddc89de412285c80c54bdc1d07818e667bc985d834980b3bc4222f9/clerk/javascript/pull/9268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/348629e70ddc89de412285c80c54bdc1d07818e667bc985d834980b3bc4222f9/clerk/javascript/pull/9268
og:image:altDescription decodeJwt checks that a token has three dot-separated segments, but the base64url.parse and JSON.parse calls after that check were unguarded. A token like aaa.bbb.ccc threw a raw Syntax...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewobsoriano
hostnamegithub.com
expected-hostnamegithub.com
None02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release33c41e9d150e44415272934d676dc63c57d89c3b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9268#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9268
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9268
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/9268
Reloadhttps://github.com/clerk/javascript/pull/9268
Reloadhttps://github.com/clerk/javascript/pull/9268
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
wobsorianohttps://github.com/wobsoriano
mainhttps://github.com/clerk/javascript/tree/main
rob/fix-issue-9263https://github.com/clerk/javascript/tree/rob/fix-issue-9263
Conversationhttps://github.com/clerk/javascript/pull/9268
Commits1 (1)https://github.com/clerk/javascript/pull/9268/commits
Checkshttps://github.com/clerk/javascript/pull/9268/checks
Files changedhttps://github.com/clerk/javascript/pull/9268/files
fix(backend): Return TokenVerificationError from decodeJwt for undecodable tokenshttps://github.com/clerk/javascript/pull/9268#top
wobsorianohttps://github.com/wobsoriano
mainhttps://github.com/clerk/javascript/tree/main
rob/fix-issue-9263https://github.com/clerk/javascript/tree/rob/fix-issue-9263
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#issue-5005262990
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
#9263https://github.com/clerk/javascript/issues/9263
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/wobsoriano
fix(backend): Return TokenVerificationError from decodeJwt for undeco…https://github.com/clerk/javascript/pull/9268/commits/293de4d266aa2a22f4e6a709db6fa36abefb5275
293de4dhttps://github.com/clerk/javascript/pull/9268/commits/293de4d266aa2a22f4e6a709db6fa36abefb5275
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#issuecomment-5112713105
293de4dhttps://github.com/clerk/javascript/commit/293de4d266aa2a22f4e6a709db6fa36abefb5275
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/rob/fix-issue-9263?filename=.changeset/many-pigs-create.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0Afix(backend)%3A%20Return%20TokenVerificationError%20from%20decodeJwt%20for%20undecodable%20tokens%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#issuecomment-5112713450
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/C3mnCrC9RaxZ6pPaLAsL9p1g9fL7
Previewhttps://clerk-js-sandbox-git-rob-fix-issue-9263.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-rob-fix-issue-9263.clerkstage.dev?via=pr-comment-feedback-link
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/5VKy29LEA2di1TfB4UFU3rkgtgFz
Previewhttps://swingset-git-rob-fix-issue-9263.clerkstage.dev
Commenthttps://vercel.live/open-feedback/swingset-git-rob-fix-issue-9263.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=9268
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#event-28636469907
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-3fw3t96rn.clerkstage.dev
Preview – swingsethttps://swingset-3fw3t96rn.clerkstage.dev
July 29, 2026 03:59https://github.com/clerk/javascript/pull/9268#event-28636495173
View deploymenthttps://swingset-3fw3t96rn.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#issuecomment-5112757180
Open in StackBlitzhttps://pkg.pr.new/template/7dbf6fa0-63a9-4fe9-beab-26b9708b1d08
293de4dhttps://github.com/clerk/javascript/runs/90477931429
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#issuecomment-5112762875
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#issuecomment-5112803127
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9268?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 29, 2026 https://github.com/clerk/javascript/pull/9268#pullrequestreview-4803851675
View reviewed changes https://github.com/clerk/javascript/pull/9268/files/293de4d266aa2a22f4e6a709db6fa36abefb5275
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9268#pullrequestreview-4803851675
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
19f7bc6https://github.com/clerk/javascript/commit/19f7bc679d0ea892b91159076407b2e04b5f7d52
293de4dhttps://github.com/clerk/javascript/commit/293de4d266aa2a22f4e6a709db6fa36abefb5275
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
packages/backend/src/jwt/verifyJwt.tshttps://github.com/clerk/javascript/pull/9268/files/293de4d266aa2a22f4e6a709db6fa36abefb5275#diff-1183438c7af912fee4f3e5d5170a7d8f449863170338a9c3d19ded3ca5af3b5a
coderabbitaihttps://github.com/apps/coderabbitai
Jul 29, 2026https://github.com/clerk/javascript/pull/9268#discussion_r3670870917
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 30, 2026 https://github.com/clerk/javascript/pull/9268#pullrequestreview-4820457293
View reviewed changes https://github.com/clerk/javascript/pull/9268/files/293de4d266aa2a22f4e6a709db6fa36abefb5275
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
9c51d74https://github.com/clerk/javascript/commit/9c51d74ac36391888367e4da44912c92999a7ac2
Jul 30, 2026https://github.com/clerk/javascript/pull/9268#event-28729998827
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
July 30, 2026 15:36https://github.com/clerk/javascript/pull/9268#event-28730001108
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jul 30, 2026 https://github.com/clerk/javascript/pull/9268#ref-pullrequest-5021463377
ci(repo): Version packages #9289 https://github.com/clerk/javascript/pull/9289
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 5, 2026 https://github.com/clerk/javascript/pull/9268#ref-pullrequest-5075698958
fix(backend): Do not throw URIError when a cookie has a malformed percent-escape #9345 https://github.com/clerk/javascript/pull/9345
Deployedhttps://swingset-3fw3t96rn.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-3fw3t96rn.clerkstage.dev
Deployedhttps://clerk-js-sandbox-27u78gan5.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-27u78gan5.clerkstage.dev
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9268
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9268/files/293de4d266aa2a22f4e6a709db6fa36abefb5275
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/9268/files/293de4d266aa2a22f4e6a709db6fa36abefb5275
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
@clerk/backend: decodeJwt throws a raw SyntaxError for a malformed token https://github.com/clerk/javascript/issues/9263
Please reload this pagehttps://github.com/clerk/javascript/pull/9268
https://github.com/wobsoriano
https://github.com/brkalow
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.