Skip to content

Commit

Permalink
Adds a reference to the cookie overflow warning in the dashboard (#1776)
Browse files Browse the repository at this point in the history
Co-authored-by: victoria <[email protected]>
  • Loading branch information
2 people authored and alexisintech committed Dec 6, 2024
1 parent 2d1e116 commit 03a956e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/backend-requests/resources/session-tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Claims to monitor for size limits:

If you include any of these claims in your token, use caution to ensure the stored data doesn't exceed the size limit.

> [!NOTE]
> If your application encounters this issue, the Clerk Dashboard will display a warning: **"Some users are exceeding cookie size limits"**. To resolve this, update your [custom session token](/docs/backend-requests/making/custom-session-token) or the [JWT template](/docs/backend-requests/making/jwt-templates) that is referenced in the warning.
## Validate session tokens

If you're using the middleware provided by our Clerk SDKs, this is all handled automatically in every request. If you're not using the middleware, you can still use the respective helpers provided by the SDKs to validate the tokens.
Expand Down

0 comments on commit 03a956e

Please sign in to comment.