# Auth0 Ionic/Capacitor - I need my claim info before I move to next page after login

**URL:** <https://community.auth0.com/t/auth0-ionic-capacitor-i-need-my-claim-info-before-i-move-to-next-page-after-login/85841>\
**Category:** Get Help\
**Tags:** capacitor, angular, ionic\
**Created:** [June 23, 2022, 7:50pm UTC](https://community.auth0.com/t/auth0-ionic-capacitor-i-need-my-claim-info-before-i-move-to-next-page-after-login/85841 "2022-06-23T19:50:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robtown](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/robtown/32/34320_2.png) [@robtown](https://community.auth0.com/u/robtown)\
**Post date:** [June 23, 2022, 7:50pm UTC](https://community.auth0.com/t/auth0-ionic-capacitor-i-need-my-claim-info-before-i-move-to-next-page-after-login/85841/1 "2022-06-23T19:50:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![alex.brett](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex.brett/32/60157_2.png) [@alex.brett](https://community.auth0.com/u/alex.brett)\
**Post date:** [December 11, 2024, 10:05pm UTC](https://community.auth0.com/t/auth0-ionic-capacitor-i-need-my-claim-info-before-i-move-to-next-page-after-login/85841/2 "2024-12-11T22:05:17Z")

</div>

Hello @robtown!

I understand you would like to show certain sections depending on claims. It is possible to use [Actions](https://auth0.com/docs/customize/actions) to [redirect](https://auth0.com/docs/customize/actions/explore-triggers/signup-and-login-triggers/login-trigger/redirect-with-actions) depending on custom conditions. You can use to `post-login` trigger to achieve your desired result.

I hope this helps!

Best,  
Alex
