How to get app_metadata and user_metadata THE RIGHT WAY

Hi @cdelgado,

Welcome to the Auth0 Community Forum!

There are multiple ways to achieve this. You can add the claims to the token via OIDC conformant custom claims:

Or request them from the management api in the backend like you described.

Hope this helps!

Thanks,
Dan