Please include the following information in your post:
I’m using Auth0 for our Ionic/Capacitor app. Angular flavored.
I need my claim info immediately after login but before I get to my tabbed pages, so I can determine in the login has the proper role to show one section in the tabs.
This seems fairly simple, but I cannot seem to figure out how to make this happen.
I’ve tried the ‘.idTokenClaims$.subscribe’ and ‘.user$.subscribe’ in various places (app.component.ts, tabs.page.ts seem the most likely places to do this) but no joy.
The tabs always load before I get any info returned from either of those.