Skip to content

Commit 6b8128c

Browse files
docs: App authentication update (#1810)
Co-authored-by: Roopan-Microsoft <[email protected]>
1 parent dfff049 commit 6b8128c

7 files changed

+47
-37
lines changed

docs/azure_app_service_auth_setup.md

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,33 @@
11
# Set Up Authentication in Azure App Service
22

3+
This document provides step-by-step instructions to configure Azure App Registrations for a front-end application.
4+
5+
## Prerequisites
6+
7+
- Access to **Microsoft Entra ID**
8+
- Necessary permissions to create and manage **App Registrations**
9+
310
## Step 1: Add Authentication in Azure App Service configuration
411

512
1. Click on `Authentication` from left menu.
613

714
![Authentication](images/AppAuthentication.png)
815

9-
2. Click on `+ Add Provider` to see a list of identity providers.
16+
2. Click on `+ Add identity provider` to see a list of identity providers.
1017

1118
![Authentication Identity](images/AppAuthenticationIdentity.png)
1219

13-
3. Click on `+ Add Provider` to see a list of identity providers.
20+
3. Click on `Identity Provider` dropdown to see a list of identity providers.
1421

1522
![Add Provider](images/AppAuthIdentityProvider.png)
1623

17-
4. Select the first option `Microsoft Entra Id` from the drop-down list. If `Create new app registration` is disabled, go to [Step 1a](#step-1a-creating-a-new-app-registration).
24+
4. Select the first option `Microsoft Entra Id` from the drop-down list and select `client secret expiration` under App registration.
25+
> NOTE: If `Create new app registration` is disabled, then go to [Create new app registration](/docs/create_new_app_registration.md) and come back to this step to complete the app authentication.
1826
1927
![Add Provider](images/AppAuthIdentityProviderAdd.png)
2028

2129
5. Accept the default values and click on `Add` button to go back to the previous page with the identify provider added.
2230

2331
![Add Provider](images/AppAuthIdentityProviderAdded.png)
2432

25-
### Step 1a: Creating a new App Registration
26-
27-
1. Click on `Home` and select `Microsoft Entra ID`.
28-
29-
![Microsoft Entra ID](images/MicrosoftEntraID.png)
30-
31-
2. Click on `App registrations`.
32-
33-
![App registrations](images/Appregistrations.png)
34-
35-
3. Click on `+ New registration`.
36-
37-
![New Registrations](images/NewRegistration.png)
38-
39-
4. Provide the `Name`, select supported account types as `Accounts in this organizational directory only(Contoso only - Single tenant)`, select platform as `Web`, enter/select the `URL` and register.
40-
41-
![Add Details](images/AddDetails.png)
42-
43-
5. After application is created sucessfully, then click on `Add a Redirect URL`.
44-
45-
![Redirect URL](images/AddRedirectURL.png)
46-
47-
6. Click on `+ Add a platform`.
48-
49-
![+ Add platform](images/AddPlatform.png)
50-
51-
7. Click on `Web`.
52-
53-
![Web](images/Web.png)
54-
55-
8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Step 1](#step-1-add-authentication-in-azure-app-service-configuration) and follow from _Point 4_ choose `Pick an existing app registration in this directory` from the Add an Identity Provider page and provide the newly registered App Name.
56-
E.g. https://appservicename.azurewebsites.net/.auth/login/aad/callback
57-
58-
![Add Details](images/WebAppURL.png)
33+
6. You have successfully added app authentication, and now required to log in to access the application.

docs/create_new_app_registration.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Creating a new App Registration
2+
3+
1. Click on `Home` and select `Microsoft Entra ID`.
4+
5+
![Microsoft Entra ID](images/MicrosoftEntraID.png)
6+
7+
2. Click on `App registrations`.
8+
9+
![App registrations](images/Appregistrations.png)
10+
11+
3. Click on `+ New registration`.
12+
13+
![New Registrations](images/NewRegistration.png)
14+
15+
4. Provide the `Name`, select supported account types as `Accounts in this organizational directory only(Contoso only - Single tenant)`, select platform as `Web`, enter/select the `URL` and register.
16+
17+
![Add Details](images/AddDetails.png)
18+
19+
5. After application is created successfully, then click on `Add a Redirect URL`.
20+
21+
![Redirect URL](images/AddRedirectURL.png)
22+
23+
6. Click on `+ Add a platform`.
24+
25+
![+ Add platform](images/AddPlatform.png)
26+
27+
7. Click on `Web`.
28+
29+
![Web](images/Web.png)
30+
31+
8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Set Up Authentication in Azure App Service](/docs/azure_app_service_auth_setup.md) Step 1 page and follow from _Point 4_ choose `Pick an existing app registration in this directory` from the Add an Identity Provider page and provide the newly registered App Name.
32+
33+
E.g. <<https://<< appservicename >>.azurewebsites.net/.auth/login/aad/callback>>
34+
35+
![Add Details](images/WebAppURL.png)
-80.8 KB
Loading
-134 KB
Loading
-178 KB
Loading

docs/images/AppAuthentication.png

-182 KB
Loading
-185 KB
Loading

0 commit comments

Comments
 (0)