Problem statement
Can you change the data type of the updated_at
field from string to integer?
Auth0 returns the updated_at
value as a string. However, the OIDC standard defines it as follows:
Claim: updated_at
Format: number
Description: Time the End-User’s information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.
This may cause problems in some circumstances.
Symptoms
Accessing the claim ‘updated_at’ returns a string value.
Solution
updated_at
is implemented as a feature flag at the tenant level. The default format is ‘string’.
It’s possible to request that the format be changed to ‘number’ by opening a Support ticket. Our Support Team will work with our Engineering team to make such a change.