From 37dff6c9ee17f729714f8ad026c39a3f1f48888e Mon Sep 17 00:00:00 2001
From: Laura Beatris <48022589+LauraBeatris@users.noreply.github.com>
Date: Fri, 1 Nov 2024 18:14:01 -0300
Subject: [PATCH 1/2] Fix docs links
---
packages/nextjs/src/server/errors.ts | 2 +-
packages/upgrade/src/components/SDKWorkflow.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/nextjs/src/server/errors.ts b/packages/nextjs/src/server/errors.ts
index fa179ff167..d2bc6d6c93 100644
--- a/packages/nextjs/src/server/errors.ts
+++ b/packages/nextjs/src/server/errors.ts
@@ -38,6 +38,6 @@ To resolve this issue, make sure your system's clock is set to the correct time
${verifyMessage}`;
-export const authSignatureInvalid = `Clerk: Unable to verify request, this usually means the Clerk middleware did not run. Ensure Clerk's middleware is properly integrated and matches the current route. For more information, see: https://clerk.com/docs/nextjs/middleware. (code=auth_signature_invalid)`;
+export const authSignatureInvalid = `Clerk: Unable to verify request, this usually means the Clerk middleware did not run. Ensure Clerk's middleware is properly integrated and matches the current route. For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware. (code=auth_signature_invalid)`;
export const encryptionKeyInvalid = `Clerk: Unable to decrypt request data, this usually means the encryption key is invalid. Ensure the encryption key is properly set. For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware#dynamic-keys. (code=encryption_key_invalid)`;
diff --git a/packages/upgrade/src/components/SDKWorkflow.js b/packages/upgrade/src/components/SDKWorkflow.js
index bf07c29f5c..a5f085a983 100644
--- a/packages/upgrade/src/components/SDKWorkflow.js
+++ b/packages/upgrade/src/components/SDKWorkflow.js
@@ -125,8 +125,8 @@ export function SDKWorkflow(props) {
You can find more information about this change in the Clerk documentation at{' '}
-
- https://clerk.com/docs/nextjs/rendering-modes
+
+ https://clerk.com/docs/references/nextjs/rendering-modes
.
From 2ca8ba911f3dd9c6c84f66b20e24fc305c61a892 Mon Sep 17 00:00:00 2001
From: Laura Beatris <48022589+LauraBeatris@users.noreply.github.com>
Date: Fri, 1 Nov 2024 18:16:55 -0300
Subject: [PATCH 2/2] Add changeset
---
.changeset/purple-eels-fix.md | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 .changeset/purple-eels-fix.md
diff --git a/.changeset/purple-eels-fix.md b/.changeset/purple-eels-fix.md
new file mode 100644
index 0000000000..f5088225b8
--- /dev/null
+++ b/.changeset/purple-eels-fix.md
@@ -0,0 +1,6 @@
+---
+"@clerk/upgrade": patch
+"@clerk/nextjs": patch
+---
+
+Updates broken Clerk documentation references