we have 2 roles for users
We have a backend backend.app.com 2 applications for them:
How I think it should work
The successful login will redirect us to backend.app.com from here, based whether it’s ADMIN or USER, we would route to the correct app.
What is the problem, then?
How do we pass credentials to the frontend from the routing endpoint?