Hello @glennydc,
Welcome to the Community!
getUser() reads the data in the ID token. You can add additional user profile attributes to the ID token using a rule. For example, here is a sample rule that adds the attribute app_metadata.uuid (assuming such an attribute exists) to the ID token:
app_metadata.uuid