Hi Rohan Roy,
My name is Cristian, And I am helping in the forum with the intention of becoming an MVP, your like helps me a lot and even better if I manage to solve your issue.
I see this error.
I'll explain how we can have the role if we haven't logged in yet.


Only if the login is correct will we obtain the roles.

validamos el rol que se tiene y hacemos la redireccion.

Now we understand this if a user has two roles.
Zoom and New By default,
when consulting your role, you will have the first one, which would be zoom.

Tell me if I help you.
Best Regards,
CP