Configure multiple authorization connections
You can configure multiple authorizations (also called authorization connections) to an authorization provider in your API Management instance. For example, if you configured Azure AD as an authorization provider, you might need to create multiple authorizations for different scenarios and users.
In this article, you learn how to add an authorization connection to an existing provider, using the portal. For an overview of configuration steps, see How to configure authorizations?
Prerequisites
- An API Management instance. If you need to, create one.
- A configured authorization provider. For example, see the steps to create a provider for GitHub or Azure AD.
Create an authorization connection - portal
Sign into portal and go to your API Management instance.
In the left menu, select Authorizations.
Select the authorization provider that you want to create multiple connections for (for example, mygithub).
In the provider windows, select Authorization, and then select + Create.
Complete the steps for your authorization connection.
- On the Authorization tab, enter an Authorization name. Select Create, then select Next.
- On the Login tab (for authorization code grant type), complete the steps to login to the authorization provider to allow access. Select Next.
- On the Access policy tab, assign access to the Azure AD identity or identities that can use the authorization. Select Complete.
The new connection appears in the list of authorizations, and shows a status of Connected.
If you want to create another authorization connection for the provider, complete the preceding steps.
Manage authorizations - portal
You can manage authorization provider settings and authorization connections in the portal. For example, you might need to update client credentials for the authorization provider.
To update provider settings:
Sign into portal and go to your API Management instance.
In the left menu, select Authorizations.
Select the authorization provider that you want to manage.
In the provider windows, select Settings.
In the provider settings, make updates, and select Save.
To update an authorization connection:
Sign into portal and go to your API Management instance.
In the left menu, select Authorizations.
Select the authorization provider (for example, mygithub).
In the provider window, select Authorization.
In the row for the authorization connection you want to update, select the context (...) menu, and select from the options. For example, to manage access policies, select Access policies.
Next steps
- Learn more about configuring identity providers for authorizations.
- Review limits for authorization providers and authorizations.
Feedback
Submit and view feedback for