Organisation cross platform permission control

Hi there, I am building an react native and react web console using the same tenant( users are also from same organisation), what is the best way to prevent cross platform access? e.g. app user will get blocked if they try to access the web console.
4 Replies
Daniel_Kinde
Daniel_Kinde2mo ago
Am I correct in understanding that you only want your users to be able to access the web or mobile at once and not both at the same time?
Ken - connecX
Ken - connecX2mo ago
Hi Daniel, Yes that's correct. React console is for the admin, while the app client is for customers. Customers shouldn't have access on the admin console. With Kinde implementation right now customers can login in both.
Daniel_Kinde
Daniel_Kinde2mo ago
Hi @Ken - connecX This can be achieved by roles and permissions agains the user. When someone has the role of admin you can permit them access to the admin console, otherwise not.
Ken - connecX
Ken - connecX2mo ago
Thanks Daniel. I thought about this way too. However, the user still could login to the admin console, and then seeing the no permission access. The UX would even be better if app user get blocked while they are in the admin console login screen. I am curious if there is any way to do that
Want results from more Discord servers?
Add your server