Revok acceess
Hi,
I' m working on rbac system with nextjs app router and I want to revok access from a user when it is suspended but it does not work.
1 Reply
Hi Ahmat, it sounds like you're trying to revoke access but it's not sticking. To fully revoke a user's session, ensure that you're correctly targeting active sessions and that the
Otherwise, I’ll go ahead and close this thread
deleteUserSessions
method is executed properly. Also, double-check that the refreshUserClaims
method is not revalidating the user's session. Sometimes, clearing local storage or cached data on the client side can help prevent old session data from persisting. If the issue persists, please reach out again and we can dive deeper.
Hi Ahmat,
Just checking in, were you able to get the session revocation working as expected after our last discussion? If you're still facing problems or have any other questions, feel free to let me know.Otherwise, I’ll go ahead and close this thread