Managing access to your API Portal with Azure Active Directory
Deploy your API Portal on Azure Static Web Apps and configure roles and access rights
for consumers.
Azure Static Web Apps comes with a role management feature that allows you to use Azure Active Directory to manage authentication for your API Portal. You can easily define custom roles for your users and limit access to specific pages.
In the following example, the API Portal contains:
- A custom landing page
- A custom "Request access" page
- The default API list with the published API documentation
- The default "Getting started" page
The "Getting started" page and the API documentation should be available only to users with the api_developer role, and the landing page and "Request access" page should be visible by all authenticated users.
For more information about customizing the landing page and creating new pages, see Organizing and adding content.