Auth0: How to add custom properties to UserObject?

Hello dan.woda thank you for your reply!
Would this be a proper way to solve the problem ‘on create’ (see picture)?
I mean it works but is it “dirty” or not?

And my other question would be how to get the app_metadata property from the user from the useAuth0 react hook. (
import {useAuth0 } from '@auth0/auth0-react';
const { user } = useAuth0();
)
My return object is this,

image

and it is definitely not the whole user object and it does not include the app_metadata property. Is there a way to extend this hook to get the additional app_metadat information? Or is another request with the user ID required to get the app_metadata information? :grin: