Requirement:
- User is given a gateway web application URL where he continues with the Auth0 Login.
- Upon successful authentication, application will read the claims.
2.1 If claims has ‘admin’ value then application should redirect the user to admin web
application which is in asp.net mvc.
2.2 If claims has ‘reader’ value then application should redirect the user to reader web
application which is react app. - These redirected web applications should just validate the user token with Auth0, save it and then Authorize the user.
- If the token expires, user should be redirect to Gateway web application.
PFA Diagram: