Skip to content

Commit

Permalink
Update metadata to add 8kb limit (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus-codingg authored Dec 12, 2023
1 parent ee609ed commit 1a106ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/users/metadata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Metadata allows for custom data to be saved on the [`User` object](/docs/users/o
| Public | Read access | Read & write access |
| Unsafe | Read & write access | Read & write access |

<Callout type="warning">
Metadata is limited to **8kb** maximum.
</Callout>

## Private metadata

Private metadata is only accessible by the backend, which makes this useful for storing sensitive data that you don't want to expose to the frontend. For example, you could store a user's Stripe customer ID.
Expand Down

0 comments on commit 1a106ee

Please sign in to comment.