Hi Graça, the use case is related to the login (before the user is signed in), the whole point is to know what provider to send to, for them to authenticate. You have an internal user that authenticates against a B2B azure tenant and a external user that authenticates against a B2C azure tenant.
I have various pages across several apps with many screens, for the sake of an example can have these combinations:
- only allowed to internal role
- only allowed to external role
- allowed to both internal and external
How can I check what roles are allowed in that page, is there an action that can list the roles (in the preparation for example), this may help decide where to send users to authenticate against, in the pages where only one of the roles is allowed. In the case of a page where both are allowed, we are likely to prompt the user to enter their email in a screen held by us, rather than the provider first their email will help us figure out what role is assigned against that user.