Skip to content

Commit

Permalink
fix(upgrade,nextjs): Update broken Clerk documentation references (#4459
Browse files Browse the repository at this point in the history
)
  • Loading branch information
LauraBeatris authored Nov 1, 2024
1 parent da6fa77 commit 5c77cae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/purple-eels-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@clerk/upgrade": patch
"@clerk/nextjs": patch
---

Updates broken Clerk documentation references
2 changes: 1 addition & 1 deletion packages/nextjs/src/server/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)`;
4 changes: 2 additions & 2 deletions packages/upgrade/src/components/SDKWorkflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ export function SDKWorkflow(props) {
<Newline />
<Text>
You can find more information about this change in the Clerk documentation at{' '}
<Link url='https://clerk.com/docs/nextjs/rendering-modes'>
https://clerk.com/docs/nextjs/rendering-modes
<Link url='https://clerk.com/docs/references/nextjs/rendering-modes'>
https://clerk.com/docs/references/nextjs/rendering-modes
</Link>
.
</Text>
Expand Down

0 comments on commit 5c77cae

Please sign in to comment.