|
| 1 | +--- |
| 2 | +title: Reference for OAuth 2.0 authorizations - Azure API Management | Microsoft Docs |
| 3 | +description: Reference for identity providers supported in authorizations in Azure API Management. API Management authorizations manage OAuth 2.0 authorization tokens to APIs. |
| 4 | +author: dlepow |
| 5 | +ms.service: api-management |
| 6 | +ms.topic: reference |
| 7 | +ms.date: 05/02/2022 |
| 8 | +ms.author: danlep |
| 9 | +--- |
| 10 | + |
| 11 | +# Authorizations reference |
| 12 | +This article is a reference for the supported identity providers in API Management [authorizations](authorizations-overview.md) (preview) and their configuration options. |
| 13 | + |
| 14 | +## Azure Active Directory |
| 15 | + |
| 16 | + |
| 17 | +**Supported grant types**: authorization code and client credentials |
| 18 | + |
| 19 | + |
| 20 | +### Authorization provider - Authorization code grant type |
| 21 | + |
| 22 | +| Name | Required | Description | Default | |
| 23 | +|---|---|---|---| |
| 24 | +| Provider name | Yes | Name of Authorization provider. | | |
| 25 | +| Client id | Yes | The id used to identify this application with the service provider. | | |
| 26 | +| Client secret | Yes | The shared secret used to authenticate this application with the service provider. || |
| 27 | +| Login URL | No | The Azure Active Directory login URL. | https://login.windows.net | |
| 28 | +| Tenant ID | No | The tenant ID of your Azure Active Directory application. | common | |
| 29 | +| Resource URL | Yes | The resource to get authorization for. | | |
| 30 | +| Scopes | No | Scopes used for the authorization. Multiple scopes could be defined separate with a space, for example, "User.Read User.ReadBasic.All" | | |
| 31 | + |
| 32 | + |
| 33 | +### Authorization - Authorization code grant type |
| 34 | +| Name | Required | Description | Default | |
| 35 | +|---|---|---|---| |
| 36 | +| Authorization name | Yes | Name of Authorization. | | |
| 37 | + |
| 38 | +--- |
| 39 | + |
| 40 | +### Authorization provider - Client credentials code grant type |
| 41 | +| Name | Required | Description | Default | |
| 42 | +|---|---|---|---| |
| 43 | +| Provider name | Yes | Name of Authorization provider. | | |
| 44 | +| Login URL | No | The Azure Active Directory login URL. | https://login.windows.net | |
| 45 | +| Tenant ID | No | The tenant ID of your Azure Active Directory application. | common | |
| 46 | +| Resource URL | Yes | The resource to get authorization for. | | |
| 47 | + |
| 48 | + |
| 49 | +### Authorization - Client credentials code grant type |
| 50 | +| Name | Required | Description | Default | |
| 51 | +|---|---|---|---| |
| 52 | +| Authorization name | Yes | Name of Authorization. | | |
| 53 | +| Client id | Yes | The id used to identify this application with the service provider. | | |
| 54 | +| Client secret | Yes | The shared secret used to authenticate this application with the service provider. || |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +## Google, LinkedIn, Spotify, Dropbox, GitHub |
| 59 | + |
| 60 | +**Supported grant types**: authorization code |
| 61 | + |
| 62 | +### Authorization provider - Authorization code grant type |
| 63 | +| Name | Required | Description | Default | |
| 64 | +|---|---|---|---| |
| 65 | +| Provider name | Yes | Name of Authorization provider. | | |
| 66 | +| Client id | Yes | The id used to identify this application with the service provider. | | |
| 67 | +| Client secret | Yes | The shared secret used to authenticate this application with the service provider. || |
| 68 | +| Scopes | No | Scopes used for the authorization. Depending on the identity provider, multiple scopes are separated by space or comma. Default for most identity providers is space. | | |
| 69 | + |
| 70 | + |
| 71 | +### Authorization - Authorization code grant type |
| 72 | +| Name | Required | Description | Default | |
| 73 | +|---|---|---|---| |
| 74 | +| Authorization name | Yes | Name of Authorization. | | |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | +## Generic OAuth 2 |
| 79 | + |
| 80 | +**Supported grant types**: authorization code |
| 81 | + |
| 82 | + |
| 83 | +### Authorization provider - Authorization code grant type |
| 84 | +| Name | Required | Description | Default | |
| 85 | +|---|---|---|---| |
| 86 | +| Provider name | Yes | Name of Authorization provider. | | |
| 87 | +| Client id | Yes | The id used to identify this application with the service provider. | | |
| 88 | +| Client secret | Yes | The shared secret used to authenticate this application with the service provider. || |
| 89 | +| Authorization URL | No | The authorization endpoint URL. | | |
| 90 | +| Token URL | No | The token endpoint URL. | | |
| 91 | +| Refresh URL | No | The token refresh endpoint URL. | | |
| 92 | +| Scopes | No | Scopes used for the authorization. Depending on the identity provider, multiple scopes are separated by space or comma. Default for most identity providers is space. | | |
| 93 | + |
| 94 | + |
| 95 | +### Authorization - Authorization code grant type |
| 96 | +| Name | Required | Description | Default | |
| 97 | +|---|---|---|---| |
| 98 | +| Authorization name | Yes | Name of Authorization. | | |
| 99 | + |
| 100 | +## Next steps |
| 101 | + |
| 102 | +Learn more about [authorizations](authorizations-overview.md) and how to [create and use authorizations](authorizations-how-to.md) |
0 commit comments