Skip to content

Commit 1d279dd

Browse files
fixes github issue no 109850
1 parent e0a6af3 commit 1d279dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/active-directory/develop/howto-call-a-web-api-with-postman.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,14 @@ You may also notice the **User.Read** permission for the Microsoft Graph API. Th
243243
1. In the top bar, ensure that **GET** is selected from the dropdown menu.
244244
1. For the request URL, enter the URL of the endpoint exposed by the web API, `https://localhost:{port}/weatherforecast`.
245245
1. Select the **Authorization** tab to configure Postman to obtain a token from the Microsoft Identity platform that will grant access to the web API.
246-
1. Enter the following values in the **Authorization** tab:
246+
1. From the **Type** dropdown, select **OAuth 2.0**. This displays **Configure New Token** form.
247+
1. Enter the following values in the **Configure New Token** tab:
247248

248249
| Setting | Value |
249250
|--------------------|-------------------------------------------------------------------------------------------------------------|
251+
| Token Name | Provide any name for the token. For example, enter `Bearer` |
252+
| Grant Type | Select **Authorization Code** |
253+
| Callback URL | Enter `http://localhost`, which sets the Callback URL to the Redirect URI registered with Azure AD. <br/> DO NOT check the **Authorize using browser** checkbox. |
250254
| Auth URL | `https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize` <br/> Replace `{tenantId}` with the **Directory (tenant) ID** |
251255
| Access Token URL | `https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token` <br/> Replace `{tenantId}` with the **Directory (tenant) ID** |
252256
| Client ID | The **Application (client) ID** value of your web app registration |

0 commit comments

Comments
 (0)