I have written a rule that add some information after successfull login, roles (added in app_metadata and id token) exactly like in this sample Create Roles
Starting from sample Auth0 Actions, I updated it to do something similar than with role for country and timezone but instead of app_metadata I added them in user_metadata and instead of id token I added them in access token.
When I call /userinfo endpoint with scope email and profile, I only have roles and other profile info (from social provider), but not country neither timezone.
How can we get user_metadata content return from /userinfo (with OIDC) ?
If possible I’d like to have timezone returned as zoneinfo in order to be compliant to OIDC standard
Last question is it possible to return same json from /userinfo for users that ca in signup using social provider and users signup in databases (in this case they fiill their profile manually in a custom form ) ?