René's URL Explorer Experiment


Title: chore(*): Improve @clerk/backend DX [Part 6 - token and jwt utils return values] by dimkl · Pull Request #2377 · clerk/javascript · GitHub

Open Graph Title: chore(*): Improve @clerk/backend DX [Part 6 - token and jwt utils return values] by dimkl · Pull Request #2377 · clerk/javascript

X Title: chore(*): Improve @clerk/backend DX [Part 6 - token and jwt utils return values] by dimkl · Pull Request #2377 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - chore(*): Improve @clerk/backend DX [Part 6 - token and jwt utils return values] by dimkl · Pull Request #2377 · clerk/javascript

Open Graph Description: Description Change return values of signJwt, hasValidSignature, decodeJwt, verifyJwt, verifyToken to return { data, error }. Example of keeping the same behaviour using those utilies: import { sign...

X Description: Description Change return values of signJwt, hasValidSignature, decodeJwt, verifyJwt, verifyToken to return { data, error }. Example of keeping the same behaviour using those utilies: import { sign...

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

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:688c7b05-3fe9-7e7a-6851-c926fe13e24d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD558:7CC9A:3C49A43:505B3DB:6AFAA747
html-safe-nonce27b2d05853c3664126faf6d698998961f543f080c652b5ccaa86ac1524376230
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTU4OjdDQzlBOjNDNDlBNDM6NTA1QjNEQjo2QUZBQTc0NyIsInZpc2l0b3JfaWQiOiI0MDcxNDU3MjM0MDcwNzEwMDg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1a9d29dd2a7b1410ed2d14ed8bf3a75ca24640dca9271a3788860ffb9934231d
hovercard-subject-tagpull_request:1646377794
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/2377/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/732d534eae538a92f2910fce843f5c055f5f8b1e6211b729a7e0163c34c5cffb/clerk/javascript/pull/2377
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/732d534eae538a92f2910fce843f5c055f5f8b1e6211b729a7e0163c34c5cffb/clerk/javascript/pull/2377
og:image:altDescription Change return values of signJwt, hasValidSignature, decodeJwt, verifyJwt, verifyToken to return { data, error }. Example of keeping the same behaviour using those utilies: import { sign...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedimkl
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/2377#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2377
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%2F2377
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/2377
Reloadhttps://github.com/clerk/javascript/pull/2377
Reloadhttps://github.com/clerk/javascript/pull/2377
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
SokratisVidroshttps://github.com/SokratisVidros
mainhttps://github.com/clerk/javascript/tree/main
sdk-974-improve-dx-backend-p6-verify-tokenhttps://github.com/clerk/javascript/tree/sdk-974-improve-dx-backend-p6-verify-token
Conversationhttps://github.com/clerk/javascript/pull/2377
Commits3 (3)https://github.com/clerk/javascript/pull/2377/commits
Checkshttps://github.com/clerk/javascript/pull/2377/checks
Files changedhttps://github.com/clerk/javascript/pull/2377/files
chore(*): Improve @clerk/backend DX [Part 6 - token and jwt utils return values]https://github.com/clerk/javascript/pull/2377#top
SokratisVidroshttps://github.com/SokratisVidros
mainhttps://github.com/clerk/javascript/tree/main
sdk-974-improve-dx-backend-p6-verify-tokenhttps://github.com/clerk/javascript/tree/sdk-974-improve-dx-backend-p6-verify-token
https://github.com/dimkl
dimklhttps://github.com/dimkl
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#issue-2044118950
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
https://github.com/dimkl
dimklhttps://github.com/dimkl
v5-release https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Av5-release
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#event-11262130015
https://github.com/dimkl
dimklhttps://github.com/dimkl
SokratisVidroshttps://github.com/SokratisVidros
nikosdouvlishttps://github.com/nikosdouvlis
December 15, 2023 17:44https://github.com/clerk/javascript/pull/2377#event-11262130036
https://github.com/dimkl
dimklhttps://github.com/dimkl
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#event-11262130158
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#issuecomment-1858251051
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
23127d5https://github.com/clerk/javascript/commit/23127d581eca322294a18ab97d98f5b58ecd5a03
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/sdk-974-improve-dx-backend-p6-verify-token?filename=.changeset/odd-zoos-boil.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Achore(*)%3A%20Improve%20%40clerk%2Fbackend%20DX%20%5BPart%206%20-%20token%20and%20jwt%20utils%20return%20values%5D%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
types https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atypes
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#event-11262131769
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
Dec 15, 2023 https://github.com/clerk/javascript/pull/2377#pullrequestreview-1784689555
View reviewed changes https://github.com/clerk/javascript/pull/2377/files
packages/backend/src/jwt/signJwt.tshttps://github.com/clerk/javascript/pull/2377/files#diff-6e6fd35879874e4c41b4cc0e354850d79ac70bfc0de3ba04173854ab11ac66e5
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
packages/backend/src/jwt/verifyJwt.tshttps://github.com/clerk/javascript/pull/2377/files#diff-1183438c7af912fee4f3e5d5170a7d8f449863170338a9c3d19ded3ca5af3b5a
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
packages/types/src/utils.tshttps://github.com/clerk/javascript/pull/2377/files#diff-936fe7efe4a257e580cf24c0a2084d2f1428e37b542edac7b6db3f932c3514d6
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
https://github.com/dimkl
chore(backend,types): Introduce ReturnWithError and use it as `verify…https://github.com/clerk/javascript/pull/2377/commits/28c807af31da3413b009657f8aaf05ab0f504da9
28c807ahttps://github.com/clerk/javascript/pull/2377/commits/28c807af31da3413b009657f8aaf05ab0f504da9
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/156f4d454149be3eb6d99e7a37d43d7355eaa0da..9e9e0d1a5ed1abd35e860f1544caa6a1016fd9c3
156f4d4https://github.com/clerk/javascript/commit/156f4d454149be3eb6d99e7a37d43d7355eaa0da
9e9e0d1https://github.com/clerk/javascript/commit/9e9e0d1a5ed1abd35e860f1544caa6a1016fd9c3
Compare https://github.com/clerk/javascript/compare/156f4d454149be3eb6d99e7a37d43d7355eaa0da..9e9e0d1a5ed1abd35e860f1544caa6a1016fd9c3
December 15, 2023 19:01https://github.com/clerk/javascript/pull/2377#event-11262731826
https://github.com/dimkl
chore(backend,types): Make /jwt subpath utilies to return `ReturnWith…https://github.com/clerk/javascript/pull/2377/commits/de61879560c4d290dcf2b9fdae1824f444aa46ef
de61879https://github.com/clerk/javascript/pull/2377/commits/de61879560c4d290dcf2b9fdae1824f444aa46ef
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/9e9e0d1a5ed1abd35e860f1544caa6a1016fd9c3..88532d1e3df43670acb8588f56599f747f8ad299
9e9e0d1https://github.com/clerk/javascript/commit/9e9e0d1a5ed1abd35e860f1544caa6a1016fd9c3
88532d1https://github.com/clerk/javascript/commit/88532d1e3df43670acb8588f56599f747f8ad299
Compare https://github.com/clerk/javascript/compare/9e9e0d1a5ed1abd35e860f1544caa6a1016fd9c3..88532d1e3df43670acb8588f56599f747f8ad299
December 15, 2023 19:18https://github.com/clerk/javascript/pull/2377#event-11262849433
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
types https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atypes
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#event-11262850617
https://github.com/dimkl
chore(backend,types): Rename and move ReturnWithError move types to…https://github.com/clerk/javascript/pull/2377/commits/23127d581eca322294a18ab97d98f5b58ecd5a03
23127d5https://github.com/clerk/javascript/pull/2377/commits/23127d581eca322294a18ab97d98f5b58ecd5a03
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/88532d1e3df43670acb8588f56599f747f8ad299..23127d581eca322294a18ab97d98f5b58ecd5a03
88532d1https://github.com/clerk/javascript/commit/88532d1e3df43670acb8588f56599f747f8ad299
23127d5https://github.com/clerk/javascript/commit/23127d581eca322294a18ab97d98f5b58ecd5a03
Compare https://github.com/clerk/javascript/compare/88532d1e3df43670acb8588f56599f747f8ad299..23127d581eca322294a18ab97d98f5b58ecd5a03
December 15, 2023 19:27https://github.com/clerk/javascript/pull/2377#event-11262913467
https://github.com/dimkl
dimklhttps://github.com/dimkl
SokratisVidroshttps://github.com/SokratisVidros
December 15, 2023 19:28https://github.com/clerk/javascript/pull/2377#event-11262914945
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
Dec 15, 2023 https://github.com/clerk/javascript/pull/2377#pullrequestreview-1784920393
View reviewed changes https://github.com/clerk/javascript/pull/2377/files/23127d581eca322294a18ab97d98f5b58ecd5a03
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
a9fe242https://github.com/clerk/javascript/commit/a9fe242be4dbaaa02c6643fea0688f1fb23f23e7
Dec 15, 2023https://github.com/clerk/javascript/pull/2377#event-11263628444
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
December 15, 2023 21:02https://github.com/clerk/javascript/pull/2377#event-11263628563
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Dec 15, 2023 https://github.com/clerk/javascript/pull/2377#ref-pullrequest-2042724006
Version Packages (alpha-v5) #2369 https://github.com/clerk/javascript/pull/2369
octoperhttps://github.com/octoper
Dec 16, 2023 https://github.com/clerk/javascript/pull/2377#ref-commit-ede4328
https://github.com/dimkl
https://github.com/octoper
chore(*): Improve @clerk/backend DX [Part 6 - token and jwt utils ret…https://github.com/clerk/javascript/commit/ede4328bd10ea979de9145cbcb37171dd0e018ec
ede4328https://github.com/clerk/javascript/commit/ede4328bd10ea979de9145cbcb37171dd0e018ec
#2377https://github.com/clerk/javascript/pull/2377
dimklhttps://github.com/dimkl
Jan 13, 2024 https://github.com/clerk/javascript/pull/2377#ref-commit-eada286
https://github.com/dimkl
feat(v5-upgrade-guide): Change @clerk/backend/jwt functions signatureshttps://github.com/clerk/clerk-docs/commit/eada286b35d513d90d62ab19db056284285ab8b4
eada286https://github.com/clerk/clerk-docs/commit/eada286b35d513d90d62ab19db056284285ab8b4
clerk/javascript#2377https://github.com/clerk/javascript/pull/2377
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 21, 2026 https://github.com/clerk/javascript/pull/2377#ref-pullrequest-4492061348
Remote access via Cloudflare relay + polished CLI auth UX TraderSamwise/aimux#4 https://github.com/TraderSamwise/aimux/pull/4
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 5, 2026 https://github.com/clerk/javascript/pull/2377#ref-pullrequest-4812789696
Add Stream audio lessons, vision agent, captions, and PostHog tracking. Anshir08/Duolingo#3 https://github.com/Anshir08/Duolingo/pull/3
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026 https://github.com/clerk/javascript/pull/2377#ref-pullrequest-5049127050
Feat/fe b01 clerk auth integration The-Provisr/___Provisr#22 https://github.com/The-Provisr/___Provisr/pull/22
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%2F2377
https://github.com/nikosdouvlis
nikosdouvlis https://github.com/nikosdouvlis
https://github.com/SokratisVidros
SokratisVidros https://github.com/SokratisVidros
https://github.com/clerk/javascript/pull/2377/files/23127d581eca322294a18ab97d98f5b58ecd5a03
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
https://github.com/dimkl
dimkl https://github.com/dimkl
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/2377
https://github.com/dimkl
https://github.com/SokratisVidros
https://github.com/clerk-cookie
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.