Protected
Given an access token get the user profile linked to it.
<caption> Get the user information based on the Auth0 access token (obtained during login). Find more information in the <a href="https://auth0.com/docs/auth-api#!#get--userinfo">API Docs</a>.</caption>const userInfoClient = new UserInfoClient({ domain: '...'});const userInfo = await userInfoClient.getUserInfo(accessToken); Copy
<caption> Get the user information based on the Auth0 access token (obtained during login). Find more information in the <a href="https://auth0.com/docs/auth-api#!#get--userinfo">API Docs</a>.</caption>const userInfoClient = new UserInfoClient({ domain: '...'});const userInfo = await userInfoClient.getUserInfo(accessToken);
Optional
Given an access token get the user profile linked to it.
Example