Pre-Defined User Authorization

I want to direct user to admin dashboard IF they are the predefined user in database.Since login authentication done automatically i have no idea to implement this logic iam asking.In .net,since i was the one who made authentication logic i was also adding constraint if current user matches with admin user in database he/she will be directed to admin dashboard instead of userpage.How can i achieve this in bubble?Thanks


You would be doing something like this as a frontend workflow on the page, except you would redirect them to the admin page and you would check if they are admin instead of checking if they’re not. I haven’t set up my admin pages yet. This is just an example from my app.

I don’t know if I get you correctly, but you can simply add another workflow action after auth. to go to the dashboard page, with an ‘only when’ condition that the current user is an admin… This must have been pre-defined in the user table and the role must have been assigned to that particular user