How to get actual app_metadata by auth0js

I can get user information by method userInfo(…) using access_token. How can I do the same but to get app_metadata without refreshing token, using same access_token as parameter

Hi @orestkhomitskyi,

Typically the easiest way to get app_metadata in an id token is to add it as a custom claim. This topic explains why userinfo is limited in its standard claims:

Also take a look at this topic for an example of how to implement custom claims:

Let me know if you have any further questions.