![]() ![]() Get a tokenĬlick Get New Access Token to open the auth flow in your machine's default web browser. Refer to Postman's documentation on OAuth 2.0 options for more information. Client Authentication: Send as Basic Auth Header (not used by this grant type).State: leave blank or provide a value such as a random GUID.Scope: the scopes you're requesting in your token, separated by spaces. ![]() Code Verifier: leave blank or provide your own.Client Secret: leave blank (not used by this grant type).It's also commonly referred to as an "Application ID" and is a GUID. Client ID: copy this from the AAD portal under Overview.Access token URL: copy this from the AAD portal under Overview > Endpoints (on top bar) > OAuth 2.0 token endpoint (v2).Auth URL: copy this from the AAD portal under Overview > Endpoints (on top bar) > OAuth 2.0 authorization endpoint (v2).Callback URL: check the ✅ Authorize using browser box.Grant Type: Authorization Code (With PKCE). ![]() Under the "Configure New Token" section, enter the following information: Open the "Authorization" tab and select OAuth 2.0. You can set this up under "Authorization" for a single request, a folder of requests, or a Collection. This URI was provided by Postman when you check the ✅ Authorize using browser box (below) and is also documented on their website. In the AAD Portal, navigate to your app registration, then to the "Authentication" tab, then add as a new redirect URI. Configure your AAD applicationĪdd a redirect URI to your AAD application for Postman to receive the authorization code. Postman now offers the ability to "Authorize using browser." You'll need to make changes to your AAD application to support it in addition to configuring Postman. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |