René's URL Explorer Experiment


Title: fix(backend): Fix `getToken()` from `getAuth()` return value in v5 by dimkl · Pull Request #2539 · clerk/javascript · GitHub

Open Graph Title: fix(backend): Fix `getToken()` from `getAuth()` return value in v5 by dimkl · Pull Request #2539 · clerk/javascript

X Title: fix(backend): Fix `getToken()` from `getAuth()` return value in v5 by dimkl · Pull Request #2539 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(backend): Fix `getToken()` from `getAuth()` return value in v5 by dimkl · Pull Request #2539 · clerk/javascript

Open Graph Description: Description Change SessionApi.getToken() to return consistent { data, errors } return value and fix the getToken() from requestState to have the same return behavior as v4 (return Promise or thro...

X Description: Description Change SessionApi.getToken() to return consistent { data, errors } return value and fix the getToken() from requestState to have the same return behavior as v4 (return Promise or thro...

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

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:7740f4f8-cd28-3eba-b054-34b180607da7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8690:2A274A:2C26780:3DF6CCB:6AFAC443
html-safe-nonce50673b8e3b440e233b082d899922a0821682f66af7a7a6a21bf2d0ce427d56c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjkwOjJBMjc0QToyQzI2NzgwOjNERjZDQ0I6NkFGQUM0NDMiLCJ2aXNpdG9yX2lkIjoiNjgwMDEwNjQ3ODk4OTEzMjg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac26b9e1334bb129e0c121cad4854a16d549ccb081c23d620ec47e77a33205063d
hovercard-subject-tagpull_request:1672676714
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/2539/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e1d3486d5adfbd7cb99fdd0045a436aea67c98f345be6cd8f6ce745435b15ba3/clerk/javascript/pull/2539
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e1d3486d5adfbd7cb99fdd0045a436aea67c98f345be6cd8f6ce745435b15ba3/clerk/javascript/pull/2539
og:image:altDescription Change SessionApi.getToken() to return consistent { data, errors } return value and fix the getToken() from requestState to have the same return behavior as v4 (return Promise or thro...
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/2539#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2539
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%2F2539
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/2539
Reloadhttps://github.com/clerk/javascript/pull/2539
Reloadhttps://github.com/clerk/javascript/pull/2539
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
dimklhttps://github.com/dimkl
mainhttps://github.com/clerk/javascript/tree/main
sdk-1192-get-tokenhttps://github.com/clerk/javascript/tree/sdk-1192-get-token
Conversationhttps://github.com/clerk/javascript/pull/2539
Commits1 (1)https://github.com/clerk/javascript/pull/2539/commits
Checkshttps://github.com/clerk/javascript/pull/2539/checks
Files changedhttps://github.com/clerk/javascript/pull/2539/files
fix(backend): Fix getToken() from getAuth() return value in v5https://github.com/clerk/javascript/pull/2539#top
dimklhttps://github.com/dimkl
mainhttps://github.com/clerk/javascript/tree/main
sdk-1192-get-tokenhttps://github.com/clerk/javascript/tree/sdk-1192-get-token
https://github.com/dimkl
dimklhttps://github.com/dimkl
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#issue-2074642122
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/dimkl
dimklhttps://github.com/dimkl
bug https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abug
v5-release https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Av5-release
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#event-11444917776
https://github.com/dimkl
dimklhttps://github.com/dimkl
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#event-11444917871
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#issuecomment-1885096699
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
37fac81https://github.com/clerk/javascript/commit/37fac81ff29b40ae83ce66f2153508386adc9985
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-1192-get-token?filename=.changeset/seven-parents-brush.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0Afix(backend)%3A%20Fix%20%60getToken()%60%20from%20%60getAuth()%60%20return%20value%20in%20v5%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#event-11444920491
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/fa827478ea10ab3c4467109a661122c2556ebf5b..e2d6e6b271ce3d7280d3086777fc7f1b62af7c8b
fa82747https://github.com/clerk/javascript/commit/fa827478ea10ab3c4467109a661122c2556ebf5b
e2d6e6bhttps://github.com/clerk/javascript/commit/e2d6e6b271ce3d7280d3086777fc7f1b62af7c8b
Compare https://github.com/clerk/javascript/compare/fa827478ea10ab3c4467109a661122c2556ebf5b..e2d6e6b271ce3d7280d3086777fc7f1b62af7c8b
January 10, 2024 15:40https://github.com/clerk/javascript/pull/2539#event-11444935360
https://github.com/dimkl
dimklhttps://github.com/dimkl
SokratisVidroshttps://github.com/SokratisVidros
nikosdouvlishttps://github.com/nikosdouvlis
January 10, 2024 15:40https://github.com/clerk/javascript/pull/2539#event-11444935526
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/404043bb564b060eee3e45d235a0ac9abfd52e15..60ba9845ee29781047494110bac9df310f5212d1
404043bhttps://github.com/clerk/javascript/commit/404043bb564b060eee3e45d235a0ac9abfd52e15
60ba984https://github.com/clerk/javascript/commit/60ba9845ee29781047494110bac9df310f5212d1
Compare https://github.com/clerk/javascript/compare/404043bb564b060eee3e45d235a0ac9abfd52e15..60ba9845ee29781047494110bac9df310f5212d1
January 10, 2024 16:33https://github.com/clerk/javascript/pull/2539#event-11445564730
https://github.com/dimkl
dimklhttps://github.com/dimkl
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#issuecomment-1885196281
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/dimkl
dimklhttps://github.com/dimkl
Jan 10, 2024 https://github.com/clerk/javascript/pull/2539#ref-pullrequest-2074114328
fix(backend): Fix getToken() from getAuth() return value in v5 #2535 https://github.com/clerk/javascript/pull/2535
https://github.com/dimkl
dimklhttps://github.com/dimkl
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#issuecomment-1885211424
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jan 10, 2024https://github.com/clerk/javascript/pull/2539#issuecomment-1885218891
@dimklhttps://github.com/dimkl
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/2f08925c2016a86285f136b0d4c4f6abde408276..7ffbc661410b87e557009d0f727e440adc21e007
2f08925https://github.com/clerk/javascript/commit/2f08925c2016a86285f136b0d4c4f6abde408276
7ffbc66https://github.com/clerk/javascript/commit/7ffbc661410b87e557009d0f727e440adc21e007
Compare https://github.com/clerk/javascript/compare/2f08925c2016a86285f136b0d4c4f6abde408276..7ffbc661410b87e557009d0f727e440adc21e007
January 10, 2024 18:41https://github.com/clerk/javascript/pull/2539#event-11446907210
https://github.com/dimkl
fix(backend): Fix getToken() from getAuth() return value in v5https://github.com/clerk/javascript/pull/2539/commits/37fac81ff29b40ae83ce66f2153508386adc9985
37fac81https://github.com/clerk/javascript/pull/2539/commits/37fac81ff29b40ae83ce66f2153508386adc9985
https://github.com/dimkl
dimklhttps://github.com/dimkl
force-pushedhttps://github.com/clerk/javascript/compare/7ffbc661410b87e557009d0f727e440adc21e007..37fac81ff29b40ae83ce66f2153508386adc9985
7ffbc66https://github.com/clerk/javascript/commit/7ffbc661410b87e557009d0f727e440adc21e007
37fac81https://github.com/clerk/javascript/commit/37fac81ff29b40ae83ce66f2153508386adc9985
Compare https://github.com/clerk/javascript/compare/7ffbc661410b87e557009d0f727e440adc21e007..37fac81ff29b40ae83ce66f2153508386adc9985
January 11, 2024 09:35https://github.com/clerk/javascript/pull/2539#event-11453977751
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
Jan 11, 2024 https://github.com/clerk/javascript/pull/2539#pullrequestreview-1815183126
View reviewed changes https://github.com/clerk/javascript/pull/2539/files/37fac81ff29b40ae83ce66f2153508386adc9985
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
Jan 11, 2024https://github.com/clerk/javascript/pull/2539#issuecomment-1886795722
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
Jan 11, 2024 https://github.com/clerk/javascript/pull/2539#pullrequestreview-1815714986
View reviewed changes https://github.com/clerk/javascript/pull/2539/files/37fac81ff29b40ae83ce66f2153508386adc9985
https://github.com/dimkl
dimklhttps://github.com/dimkl
Jan 11, 2024https://github.com/clerk/javascript/pull/2539#event-11457340752
799abc2https://github.com/clerk/javascript/commit/799abc281182efb953dd6637f9db7fc61c71a2cd
Jan 11, 2024https://github.com/clerk/javascript/pull/2539#event-11457455879
https://github.com/dimkl
dimklhttps://github.com/dimkl
January 11, 2024 14:31https://github.com/clerk/javascript/pull/2539#event-11457456114
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jan 11, 2024 https://github.com/clerk/javascript/pull/2539#ref-pullrequest-2076381857
Version Packages (alpha-v5) #2554 https://github.com/clerk/javascript/pull/2554
dimklhttps://github.com/dimkl
Jan 15, 2024 https://github.com/clerk/javascript/pull/2539#ref-commit-5142afa
https://github.com/dimkl
fix(v5-upgrade-guide): Add sessions.getToken() return value changehttps://github.com/clerk/clerk-docs/commit/5142afadeef4913fc6a1e56f044ca55ea0133f5e
5142afahttps://github.com/clerk/clerk-docs/commit/5142afadeef4913fc6a1e56f044ca55ea0133f5e
clerk/javascript#2539https://github.com/clerk/javascript/pull/2539
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 19, 2026 https://github.com/clerk/javascript/pull/2539#ref-pullrequest-4920923936
Docs: Clerk authentication hooks and component usage guide SatyamPandey-07/WorkSphere#754 https://github.com/SatyamPandey-07/WorkSphere/pull/754
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%2F2539
https://github.com/nikosdouvlis
nikosdouvlis https://github.com/nikosdouvlis
https://github.com/clerk/javascript/pull/2539/files/37fac81ff29b40ae83ce66f2153508386adc9985
https://github.com/SokratisVidros
SokratisVidros https://github.com/SokratisVidros
https://github.com/clerk/javascript/pull/2539/files/37fac81ff29b40ae83ce66f2153508386adc9985
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/dimkl
dimkl https://github.com/dimkl
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
bug https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abug
Please reload this pagehttps://github.com/clerk/javascript/pull/2539
https://github.com/dimkl
https://github.com/clerk-cookie
https://github.com/SokratisVidros
https://github.com/nikosdouvlis
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.