I'm creating an app wherein authorization comes from another web app and I'm not allowed to save users data on my own database, what happens is the user will log-in on their app and they will redirect the user to my app -if they have access. The app will then pass info to my application. One of the info is the user role and I'm thinking if I can use it to customize Identity (function). Currently, I'm saving them on Session and it's just a lot of work and if else statement.
If I can do such a thing, how?