Angular/TypeScript Authentication: Basic Access Control

Hi Developers,

I have integrated Angular with FastAPI using Auth0 and for the start it is working perfectly fine.

But, now I want to render different menu options in the front end depending on the type of user (i.e. admin, manager, user etc.).

So, how can I setup different role based screens in Angular when user login. Because I am not getting the details of menu permission list even though I tried to console it.

Can you help me with it?

PS: API’s are working fine with scope/permission based authentication. How to render screen on the basis of Role is the current concern.

Thanks and Regards,
Sachin.