Skip to content

Commit 50f0e42

Browse files
Merge pull request #191690 from rwike77/screenshots
updating screenshots
2 parents 6fc74a6 + b67e6eb commit 50f0e42

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

articles/active-directory/develop/consent-framework.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ ms.service: active-directory
1010
ms.subservice: develop
1111
ms.topic: conceptual
1212
ms.workload: identity
13-
ms.date: 10/21/2020
13+
ms.date: 03/14/2022
1414
ms.author: ryanwi
15-
ms.reviewer: zachowd, lenalepa, jesakowi
16-
ms.custom: has-adal-ref
15+
ms.reviewer: phsignor, jesakowi
16+
ms.custom:
1717
---
1818

1919
# Azure Active Directory consent framework
@@ -32,17 +32,17 @@ The following steps show you how the consent experience works for both the appli
3232

3333
1. Assume you have a web client application that needs to request specific permissions to access a resource/API. You'll learn how to do this configuration in the next section, but essentially the Azure portal is used to declare permission requests at configuration time. Like other configuration settings, they become part of the application's Azure AD registration:
3434

35-
![Permissions to other applications](./media/consent-framework/permissions.png)
35+
:::image type="content" source="./media/consent-framework/permissions.png" alt-text="Permissions to other applications" lightbox="./media/consent-framework/permissions.png":::
3636

3737
1. Consider that your application’s permissions have been updated, the application is running, and a user is about to use it for the first time. First, the application needs to obtain an authorization code from Azure AD’s `/authorize` endpoint. The authorization code can then be used to acquire a new access and refresh token.
3838

3939
1. If the user is not already authenticated, Azure AD's `/authorize` endpoint prompts the user to sign in.
4040

41-
![User or administrator sign in to Azure AD](./media/consent-framework/usersignin.png)
41+
:::image type="content" source="./media/consent-framework/usersignin.png" alt-text="User or administrator sign in to Azure AD":::
4242

4343
1. After the user has signed in, Azure AD will determine if the user needs to be shown a consent page. This determination is based on whether the user (or their organization’s administrator) has already granted the application consent. If consent has not already been granted, Azure AD prompts the user for consent and displays the required permissions it needs to function. The set of permissions that are displayed in the consent dialog match the ones selected in the **Delegated permissions** in the Azure portal.
4444

45-
![Shows an example of permissions displayed in the consent dialog](./media/consent-framework/consent.png)
45+
:::image type="content" source="./media/consent-framework/consent.png" alt-text="Shows an example of permissions displayed in the consent dialog":::
4646

4747
1. After the user grants consent, an authorization code is returned to your application, which is redeemed to acquire an access token and refresh token. For more information about this flow, see [OAuth 2.0 authorization code flow](v2-oauth2-auth-code-flow.md).
4848

@@ -53,7 +53,7 @@ The following steps show you how the consent experience works for both the appli
5353
1. Go to the **API permissions** page for your application
5454
1. Click on the **Grant admin consent** button.
5555

56-
![Grant permissions for explicit admin consent](./media/consent-framework/grant-consent.png)
56+
:::image type="content" source="./media/consent-framework/grant-consent.png" alt-text="Grant permissions for explicit admin consent" lightbox="./media/consent-framework/grant-consent.png":::
5757

5858
> [!IMPORTANT]
5959
> Granting explicit consent using the **Grant permissions** button is currently required for single-page applications (SPA) that use MSAL.js. Otherwise, the application fails when the access token is requested.
248 KB
Loading
49.4 KB
Loading
48.8 KB
Loading
186 KB
Loading

0 commit comments

Comments
 (0)