Roles for a SPA and API setup in Microsoft Intra ID
I have setup a FastAPI with FastAPI-Azure-Auth. It is a API and a Swagger page (SPA) to test the API. I have an app registration for the API and one for the Swagger page. On the API app registration I added a role named “Role7” on my user.
FAST API Get App Roles from Microsoft Intra ID
I have created a small demo Fast API with FastAPI-Azure-Auth that authenticates with Microsoft Intra ID. The login works everything is OK. In the app registration for the API I have set up Roles: