René's URL Explorer Experiment


Title: feat(nextjs): Replace redirectUrl of protect with `unauthorizedUrl` and `unauthenticatedUrl` by panteliselef · Pull Request #2672 · clerk/javascript · GitHub

Open Graph Title: feat(nextjs): Replace redirectUrl of protect with `unauthorizedUrl` and `unauthenticatedUrl` by panteliselef · Pull Request #2672 · clerk/javascript

X Title: feat(nextjs): Replace redirectUrl of protect with `unauthorizedUrl` and `unauthenticatedUrl` by panteliselef · Pull Request #2672 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - feat(nextjs): Replace redirectUrl of protect with `unauthorizedUrl` and `unauthenticatedUrl` by panteliselef · Pull Request #2672 · clerk/javascript

Open Graph Description: Description This affects the public signature of auth().protect() How to use - auth().protect({redirectUrl: '/sign-in'}) + auth().protect({unauthenticatedUrl: '/sign-in'}) - aut...

X Description: Description This affects the public signature of auth().protect() How to use - auth().protect({redirectUrl: '/sign-in'}) + auth().protect({unauthenticatedUrl: '/sign-in&...

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

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:8c08368e-8e30-4fae-4331-166222496565
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDB0:35FB3F:2BFA541:3E20CE2:6AFACDAA
html-safe-noncea735bbc8039a8132c869e9b4985f3250270f796b559b4fe75f4a8beda65b4197
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREIwOjM1RkIzRjoyQkZBNTQxOjNFMjBDRTI6NkFGQUNEQUEiLCJ2aXNpdG9yX2lkIjoiNTAxOTE0OTQxMjk3NDkwNjc5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbf551bd1b577bc95e3777a3072f141a63e83e324d547aa1c1e471fb0223b0192
hovercard-subject-tagpull_request:1699921893
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/2672/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/88d3a61a5ac7ef7d82f1f436237e8ae8cb90c808aeade5b162a730ac5409ca2e/clerk/javascript/pull/2672
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/88d3a61a5ac7ef7d82f1f436237e8ae8cb90c808aeade5b162a730ac5409ca2e/clerk/javascript/pull/2672
og:image:altDescription This affects the public signature of auth().protect() How to use - auth().protect({redirectUrl: '/sign-in'}) + auth().protect({unauthenticatedUrl: '/sign-in'}) - aut...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepanteliselef
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
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
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/2672#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2672
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%2F2672
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/2672
Reloadhttps://github.com/clerk/javascript/pull/2672
Reloadhttps://github.com/clerk/javascript/pull/2672
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
nikosdouvlishttps://github.com/nikosdouvlis
mainhttps://github.com/clerk/javascript/tree/main
elef/replace-redirect-url-protecthttps://github.com/clerk/javascript/tree/elef/replace-redirect-url-protect
Conversationhttps://github.com/clerk/javascript/pull/2672
Commits3 (3)https://github.com/clerk/javascript/pull/2672/commits
Checkshttps://github.com/clerk/javascript/pull/2672/checks
Files changedhttps://github.com/clerk/javascript/pull/2672/files
feat(nextjs): Replace redirectUrl of protect with unauthorizedUrl and unauthenticatedUrlhttps://github.com/clerk/javascript/pull/2672#top
nikosdouvlishttps://github.com/nikosdouvlis
mainhttps://github.com/clerk/javascript/tree/main
elef/replace-redirect-url-protecthttps://github.com/clerk/javascript/tree/elef/replace-redirect-url-protect
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Jan 29, 2024https://github.com/clerk/javascript/pull/2672#issue-2105445715
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
https://github.com/panteliselef
feat(nextjs): Replace redirectUrl of protect with unauthorizedUrl a…https://github.com/clerk/javascript/pull/2672/commits/e7a8783a935290924c5441b55f1be19feca118d6
e7a8783https://github.com/clerk/javascript/pull/2672/commits/e7a8783a935290924c5441b55f1be19feca118d6
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
nikosdouvlishttps://github.com/nikosdouvlis
January 29, 2024 12:58https://github.com/clerk/javascript/pull/2672#event-11627424518
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Jan 29, 2024https://github.com/clerk/javascript/pull/2672#event-11627424608
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jan 29, 2024https://github.com/clerk/javascript/pull/2672#issuecomment-1914646330
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
095c396https://github.com/clerk/javascript/commit/095c3968604c19224c47f5fdc0f5b1d12be0f648
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/elef/replace-redirect-url-protect?filename=.changeset/proud-files-cross.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afeat(nextjs)%3A%20Replace%20redirectUrl%20of%20protect%20with%20%60unauthorizedUrl%60%20and%20%60unauthenticatedUrl%60%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Jan 29, 2024https://github.com/clerk/javascript/pull/2672#event-11627426985
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Jan 29, 2024 https://github.com/clerk/javascript/pull/2672#pullrequestreview-1848619773
View reviewed changes https://github.com/clerk/javascript/pull/2672/files/e7a8783a935290924c5441b55f1be19feca118d6
packages/nextjs/src/server/protect.tshttps://github.com/clerk/javascript/pull/2672/files/e7a8783a935290924c5441b55f1be19feca118d6#diff-215811f2c632363e840c9e383f96bd9d5d2cf3de339812074ebd984a582f753d
panteliselefhttps://github.com/panteliselef
Jan 29, 2024https://github.com/clerk/javascript/pull/2672#discussion_r1469558638
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
panteliselefhttps://github.com/panteliselef
Jan 31, 2024https://github.com/clerk/javascript/pull/2672#discussion_r1473594254
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@nikosdouvlishttps://github.com/nikosdouvlis
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
panteliselefhttps://github.com/panteliselef
January 30, 2024 11:07https://github.com/clerk/javascript/pull/2672#commits-pushed-89a515b
https://github.com/panteliselef
test(nextjs): Update testshttps://github.com/clerk/javascript/pull/2672/commits/89a515b89eba3ed6131d83f130d848731f2eb0a5
89a515bhttps://github.com/clerk/javascript/pull/2672/commits/89a515b89eba3ed6131d83f130d848731f2eb0a5
https://github.com/panteliselef
Merge branch 'main' into elef/replace-redirect-url-protecthttps://github.com/clerk/javascript/pull/2672/commits/095c3968604c19224c47f5fdc0f5b1d12be0f648
095c396https://github.com/clerk/javascript/pull/2672/commits/095c3968604c19224c47f5fdc0f5b1d12be0f648
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
Feb 1, 2024 https://github.com/clerk/javascript/pull/2672#pullrequestreview-1855979373
View reviewed changes https://github.com/clerk/javascript/pull/2672/files/095c3968604c19224c47f5fdc0f5b1d12be0f648
nikosdouvlishttps://github.com/nikosdouvlis
https://github.com/clerk/javascript/pull/2672#pullrequestreview-1855979373
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
c7d960chttps://github.com/clerk/javascript/commit/c7d960ca01ed4c670065f0b798779a8a156d298e
Feb 1, 2024https://github.com/clerk/javascript/pull/2672#event-11667041654
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
February 1, 2024 09:24https://github.com/clerk/javascript/pull/2672#event-11667041872
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Feb 1, 2024 https://github.com/clerk/javascript/pull/2672#ref-pullrequest-2100071228
Version Packages (beta-v5) #2663 https://github.com/clerk/javascript/pull/2663
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%2F2672
https://github.com/nikosdouvlis
nikosdouvlis https://github.com/nikosdouvlis
https://github.com/clerk/javascript/pull/2672/files/095c3968604c19224c47f5fdc0f5b1d12be0f648
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/2672
https://github.com/panteliselef
https://github.com/nikosdouvlis
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.