What is the Maximum Size of user_metadata and app_metadata Profiles

Last Updated: Dec 12, 2024

Overview

What is the maximum supported size of Auth0 User Profile with user_metadata, app_metadata, identities(Enterprise SAML/Social), OTP, etc? Does it vary between Public and Private tenants?

Applies To

  • User Profiles
  • app_metadata
  • user_metadata

Solution

Both the user_metadata and app_metadata are constrained to be 16MB in size. Note: Only store essential data items in these profiles and under no circumstances should they be used as general-purpose data stores. Refer to the Profile Management Metadata Best Practices.

For performance reasons, set 16kB as the upper practical limit for user_metadata and app_metadata.

In general, only identity-related content should be stored in the user profile. For content configuration items, we recommend storing them externally. This can be accessed during authentication using a rule, or directly from the app.

Note: This could add significant latency if they contain large amounts of non-essential data.

Related References