Maximum Character Count for user_id from External Identity Providers
Last Updated:
Overview
This article provides the maximum character count of the user_id of an Auth0 User.
- The user_ids for users logging in with an external identity provider have the following format:
- {identity type}|{optional identity provider name}|{unique user id in the provider}
Applies To
- user_id
- External Identity Provider
- Maximum Character Count
Solution
The maximum character limit for the unique user ID is 255 characters. This limit is for the {unique user id in the provider} string, excluding identity types such as samlp, google-oauth2, and the optional identity provider name. The optional identity provider name can be up to 128 characters.