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.
Thanks, Dan