René's URL Explorer Experiment


Title: chore(nextjs): Add machine secret key environment variable to BAPI client init by wobsoriano · Pull Request #6478 · clerk/javascript · GitHub

Open Graph Title: chore(nextjs): Add machine secret key environment variable to BAPI client init by wobsoriano · Pull Request #6478 · clerk/javascript

X Title: chore(nextjs): Add machine secret key environment variable to BAPI client init by wobsoriano · Pull Request #6478 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - chore(nextjs): Add machine secret key environment variable to BAPI client init by wobsoriano · Pull Request #6478 · clerk/javascript

Open Graph Description: Description Please review #6479 first before this one. This PR updates all JS SDKs to have an option to declare a machine secret key to authorize machine-to-machine requests Resolves USER-2584 Chec...

X Description: Description Please review #6479 first before this one. This PR updates all JS SDKs to have an option to declare a machine secret key to authorize machine-to-machine requests Resolves USER-2584 Chec...

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

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:3bbdc48b-f4a5-494b-9cfd-0478eec90a60
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96B6:42EA3:2A25464:3B3E79E:6AFAC11C
html-safe-nonce858fb400fa7391ce07dd2676b9b44a38fad66c175e1a4e66542209f73dc8e982
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkI2OjQyRUEzOjJBMjU0NjQ6M0IzRTc5RTo2QUZBQzExQyIsInZpc2l0b3JfaWQiOiI1MzEyNTkyNjY4MjQzMTgxODUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6c8d0f452b93674a539f7d75c6861623d6f554eb82cba41e1db2a7bdc4df9a8d
hovercard-subject-tagpull_request:2722571227
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/6478/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c0faf1abb9f4c565792479e85a57e654816fde92f63df11917fc9bedd9bba631/clerk/javascript/pull/6478
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0faf1abb9f4c565792479e85a57e654816fde92f63df11917fc9bedd9bba631/clerk/javascript/pull/6478
og:image:altDescription Please review #6479 first before this one. This PR updates all JS SDKs to have an option to declare a machine secret key to authorize machine-to-machine requests Resolves USER-2584 Chec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewobsoriano
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/6478#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F6478
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%2F6478
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/6478
Reloadhttps://github.com/clerk/javascript/pull/6478
Reloadhttps://github.com/clerk/javascript/pull/6478
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
rob/user-2264-m2m-authhttps://github.com/clerk/javascript/tree/rob/user-2264-m2m-auth
rob/user-2584-machine-secret-key-envhttps://github.com/clerk/javascript/tree/rob/user-2584-machine-secret-key-env
Conversationhttps://github.com/clerk/javascript/pull/6478
Commits7 (7)https://github.com/clerk/javascript/pull/6478/commits
Checkshttps://github.com/clerk/javascript/pull/6478/checks
Files changedhttps://github.com/clerk/javascript/pull/6478/files
chore(nextjs): Add machine secret key environment variable to BAPI client inithttps://github.com/clerk/javascript/pull/6478#top
wobsorianohttps://github.com/wobsoriano
rob/user-2264-m2m-authhttps://github.com/clerk/javascript/tree/rob/user-2264-m2m-auth
rob/user-2584-machine-secret-key-envhttps://github.com/clerk/javascript/tree/rob/user-2584-machine-secret-key-env
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Aug 5, 2025https://github.com/clerk/javascript/pull/6478#issue-3294622841
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
#6479https://github.com/clerk/javascript/pull/6479
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
https://github.com/wobsoriano
chore: Add CLERK_MACHINE_SECRET_KEY to clerk client inithttps://github.com/clerk/javascript/pull/6478/commits/46a862a043645c15543b14b9c32220f90820380b
46a862ahttps://github.com/clerk/javascript/pull/6478/commits/46a862a043645c15543b14b9c32220f90820380b
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Aug 5, 2025https://github.com/clerk/javascript/pull/6478#issuecomment-3156837541
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
e32bc3bhttps://github.com/clerk/javascript/commit/e32bc3b0de001323bb967ed0b73ebe6cb15e07cd
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/user-2584-machine-secret-key-env?filename=.changeset/moody-crabs-laugh.md&value=---%0A%22%40clerk%2Fastro%22%3A%20patch%0A%22%40clerk%2Fexpress%22%3A%20patch%0A%22%40clerk%2Ffastify%22%3A%20patch%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A%22%40clerk%2Fnuxt%22%3A%20patch%0A%22%40clerk%2Freact-router%22%3A%20patch%0A%22%40clerk%2Fremix%22%3A%20patch%0A%22%40clerk%2Ftanstack-react-start%22%3A%20patch%0A---%0A%0Achore(nextjs)%3A%20Add%20machine%20secret%20key%20environment%20variable%20to%20BAPI%20client%20init%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Aug 5, 2025https://github.com/clerk/javascript/pull/6478#issuecomment-3156837567
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/3KBtvyrhWqQyKAsz1czUkWY1LHG7
Visit Previewhttps://clerk-js-sandbox-git-rob-user-2584-machine-secret-key-env.clerkstage.dev
Add feedbackhttps://vercel.live/open-feedback/clerk-js-sandbox-git-rob-user-2584-machine-secret-key-env.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
remix https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aremix
fastify https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Afastify
express https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aexpress
tanstack https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atanstack
react-router https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact-router
nuxt https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anuxt
Aug 5, 2025https://github.com/clerk/javascript/pull/6478#event-19000998659
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Aug 5, 2025https://github.com/clerk/javascript/pull/6478#event-19001018999
https://github.com/wobsoriano
chore: add changesethttps://github.com/clerk/javascript/pull/6478/commits/03501cac4dae6897d7813ff95ddaa475dce59119
03501cahttps://github.com/clerk/javascript/pull/6478/commits/03501cac4dae6897d7813ff95ddaa475dce59119
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-byzy2v9w3.clerkstage.dev
Previewhttps://clerk-js-sandbox-byzy2v9w3.clerkstage.dev
August 5, 2025 22:42https://github.com/clerk/javascript/pull/6478#event-19001042549
View deploymenthttps://clerk-js-sandbox-byzy2v9w3.clerkstage.dev
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
August 5, 2025 22:42https://github.com/clerk/javascript/pull/6478#event-19001044927
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
August 6, 2025 15:11https://github.com/clerk/javascript/pull/6478#event-19015701557
wobsorianohttps://github.com/wobsoriano
August 6, 2025 08:11https://github.com/clerk/javascript/pull/6478#commits-pushed-e8c872e
https://github.com/wobsoriano
Merge branch 'rob/user-2264-m2m-auth' into rob/user-2584-machine-secr…https://github.com/clerk/javascript/pull/6478/commits/e8c872eca19836401a96ac7ba36b52e455f184df
e8c872ehttps://github.com/clerk/javascript/pull/6478/commits/e8c872eca19836401a96ac7ba36b52e455f184df
https://github.com/wobsoriano
chore: update changesethttps://github.com/clerk/javascript/pull/6478/commits/8feeffcbf0a6d7c2b4a67ccb22cbdcbe17749f4c
8feeffchttps://github.com/clerk/javascript/pull/6478/commits/8feeffcbf0a6d7c2b4a67ccb22cbdcbe17749f4c
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-r9ak6piis.clerkstage.dev
Previewhttps://clerk-js-sandbox-r9ak6piis.clerkstage.dev
August 6, 2025 15:14https://github.com/clerk/javascript/pull/6478#event-19015783880
View deploymenthttps://clerk-js-sandbox-r9ak6piis.clerkstage.dev
https://github.com/wobsoriano
chore: add machineSecretKey to astro clerk bapi clienthttps://github.com/clerk/javascript/pull/6478/commits/1e5f491f1371394336e004c1e2d2b5dcf84ad8b6
1e5f491https://github.com/clerk/javascript/pull/6478/commits/1e5f491f1371394336e004c1e2d2b5dcf84ad8b6
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://clerk-js-sandbox-cvqi2nkdj.clerkstage.dev
August 6, 2025 15:30https://github.com/clerk/javascript/pull/6478#event-19016105010
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
astro https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aastro
Aug 6, 2025https://github.com/clerk/javascript/pull/6478#event-19016111774
https://github.com/wobsoriano
chore: add to integrationhttps://github.com/clerk/javascript/pull/6478/commits/6a783229624c9eb042eec5be9daa17645e8f0632
6a78322https://github.com/clerk/javascript/pull/6478/commits/6a783229624c9eb042eec5be9daa17645e8f0632
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://clerk-js-sandbox-jga7d7na9.clerkstage.dev
August 6, 2025 15:30https://github.com/clerk/javascript/pull/6478#event-19016113941
https://github.com/wobsoriano
chore: update changesethttps://github.com/clerk/javascript/pull/6478/commits/e32bc3b0de001323bb967ed0b73ebe6cb15e07cd
e32bc3bhttps://github.com/clerk/javascript/pull/6478/commits/e32bc3b0de001323bb967ed0b73ebe6cb15e07cd
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-5w83dtxwo.clerkstage.dev
Previewhttps://clerk-js-sandbox-5w83dtxwo.clerkstage.dev
August 6, 2025 15:32https://github.com/clerk/javascript/pull/6478#event-19016147489
View deploymenthttps://clerk-js-sandbox-5w83dtxwo.clerkstage.dev
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Aug 6, 2025 https://github.com/clerk/javascript/pull/6478#pullrequestreview-3093681618
View reviewed changes https://github.com/clerk/javascript/pull/6478/files/e32bc3b0de001323bb967ed0b73ebe6cb15e07cd
jacekradkohttps://github.com/jacekradko
https://github.com/clerk/javascript/pull/6478#pullrequestreview-3093681618
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Aug 6, 2025https://github.com/clerk/javascript/pull/6478#issuecomment-3161167193
machines endpointhttps://clerk.com/docs/reference/backend-api/tag/machines
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
dc2dc84https://github.com/clerk/javascript/commit/dc2dc84e6cbbc154f0bcfdf6cbf3e0265182e035
Aug 7, 2025https://github.com/clerk/javascript/pull/6478#event-19041464137
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
August 7, 2025 18:29https://github.com/clerk/javascript/pull/6478#event-19041464484
Deployedhttps://clerk-js-sandbox-5w83dtxwo.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-5w83dtxwo.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%2F6478
https://github.com/jacekradko
jacekradko https://github.com/jacekradko
https://github.com/clerk/javascript/pull/6478/files/e32bc3b0de001323bb967ed0b73ebe6cb15e07cd
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
astro https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aastro
express https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aexpress
fastify https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Afastify
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
nuxt https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anuxt
react-router https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Areact-router
remix https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aremix
tanstack https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atanstack
Please reload this pagehttps://github.com/clerk/javascript/pull/6478
https://github.com/wobsoriano
https://github.com/jacekradko
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.