Error Code Portal
GoogleFirebase Authentication Admin SDKError code

auth/reserved-claims

reserved claims

Code auth/reserved-claims · An issue reported by Firebase Authentication Admin SDK.

One or more custom user claims provided to setCustomUserClaims() are reserved. For example, OIDC specific claims such as (sub, iat, iss, exp, aud, auth_time, etc.) should not be used as keys for custom claims.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.