can we get user meta or app meta inside the profile object without using management api
I’m afraid that’s not possible. If you want to retrieve the user_metadata or app_metadata at the time of user login, you can consider adding them as a custom claim by using a rule.
Please refer to https://auth0.com/docs/scopes/sample-use-cases-scopes-and-claims#add-custom-claims-to-a-token to learn more about adding custom claims to tokens.
Note that adding too many custom claims can increase the token size, and there can be issues with having too large tokens.
How to i access the metadata from the profile obj it comming in the format http://localhost:3000/app_metadata
Hey, u can achieve it by using a custom claim as mention in this thread and u got to use URL as a key
for eg: profile[“https://example.com/user_meta”]
Teamwork makes the dreamwork!