I have managed to setup a registration–>login–>logout flow using the PHP SDK. However I can’t managed to figure out on how to get a logged in users user_metadata and app_metadata.
I can show some userinfo via
$userInfo = $auth0->getUser(); this returns an array of the bare minimum user data like
last_updated etc. But how do I get the additional data that is present on the raw json object if I inspect the user in the auth0 dashboard, mainly the user_metadata and app_metadata?