Auth0 Home Blog Docs

Get user_metadata in token

lock
auth0
user-metadata

#1

Hi I have angular 6 app with with following code in auth.service
auth0 = new auth0.WebAuth({
clientID: AUTH_CONFIG.clientID,
domain: AUTH_CONFIG.domain,
responseType: ‘token id_token’,
audience: ‘http://portal2-api’,
redirectUri: AUTH_CONFIG.callbackURL,
scope: ‘openid email user_metadata app_metadata picture profile’
});
but the meta data is not appearing in the id_token . What is wrong with it. When I user the auth0 dashboard->users- I can see that the fiullname is there.
Thank you