javascript - Auth0 rules - read metadata from getUser() -


i'm using auth0 rules add info user profile. when reading profile web app:

$userinfo = $auth0->getuser(); 

the data added rules not seem there. there method metadata?

$auth0->getusermetadata(); 

is there returns 'undefined index'

aha, appears need call

auth0.users.updateusermetadata(user.user_id, user.user_metadata) 

in rule .js before getusermetadata() return metadata app.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -