You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really an oidc pro, so this might be a simple to answer question.
I got a frontend application and only users associated with a specific role - role-a - shall be allowed to login. Some users got the role, others don't.
Problem with this approach: I can leave the current browser tab in a pending state and open another one with a protected route - I'm displayed as successfully logged in and got access. I guess the issue comes from a user entry in the userStore.
How can I prevent someone without a specific role to being added to the useStore or logged in at all?
The text was updated successfully, but these errors were encountered:
I'm not really an oidc pro, so this might be a simple to answer question.
I got a frontend application and only users associated with a specific role - role-a - shall be allowed to login. Some users got the role, others don't.
My current implementation:
Problem with this approach: I can leave the current browser tab in a pending state and open another one with a protected route - I'm displayed as successfully logged in and got access. I guess the issue comes from a user entry in the userStore.
How can I prevent someone without a specific role to being added to the useStore or logged in at all?
The text was updated successfully, but these errors were encountered: