# How to redirect users based on their type

**URL:** <https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002>\
**Category:** Database\
**Created:** [May 13, 2021, 7:20am UTC](https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002 "2021-05-13T07:20:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shardul](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@shardul](https://forum.bubble.io/u/shardul)\
**Post date:** [May 13, 2021, 7:20am UTC](https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002/1 "2021-05-13T07:20:38Z")

</div>

So in my app, I have two types of users: brand and influencers. And in the sign-in page, I ask whether they are a brand or an influencer. Now based on the type of user how do I redirect them to different pages every time they log in?

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [May 13, 2021, 8:01am UTC](https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002/2 "2021-05-13T08:01:00Z")

</div>

Hi there, @shardul… one way to go about is to have two navigation steps at the end of the log in workflow… one step that goes to a particular page only when a user’s type is brand and a second step that goes to a different page only when the user’s type is influencer. Make sense?

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![shardul](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@shardul](https://forum.bubble.io/u/shardul)\
**Post date:** [May 13, 2021, 8:08am UTC](https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002/3 "2021-05-13T08:08:05Z")

</div>

Hi @mikeloc, thank you for your advice. But can you tell me more about how I can implement it?

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [May 13, 2021, 8:25am UTC](https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002/4 "2021-05-13T08:25:20Z")

</div>

If it was me, I would likely have an option set for the user types…

 ![options](https://us1.discourse-cdn.com/bubble/original/3X/b/9/b97cb247729d43c1409e0827b7dcfa4084767dda.png)

and I would have a `type` field in the `User` data type that is tied to the option set…

![type](https://us1.discourse-cdn.com/bubble/original/3X/e/1/e1d003ee74834050b27a71bf63aeaccd7105d317.png)

I would then have a way (a dropdown, radio buttons, separate sign-up buttons, etc.) on the sign-up page for a user to sign up as either a brand or an influencer, and when they sign up, I would set their `type` field to the appropriate option from the option set.

Finally, as I mentioned in my initial response, I would have two steps at the end of the log-in workflow to direct the user to a particular page based on their type…

 ![login](https://us1.discourse-cdn.com/bubble/original/3X/a/7/a79135fda7827ea63f7b6814a8bd451348dfd7ee.png)

Hope this helps you get down a good path.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![shardul](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@shardul](https://forum.bubble.io/u/shardul)\
**Post date:** [May 13, 2021, 8:42am UTC](https://forum.bubble.io/t/how-to-redirect-users-based-on-their-type/151002/5 "2021-05-13T08:42:11Z")

</div>

Yeah, it works just as I wanted, thanks a lot sir.
