|
1 | | -## Add Authentication in Azure App Service configuration |
| 1 | +# Set Up Authentication in Azure App Service |
| 2 | + |
| 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 | + |
| 10 | +## Step 1: Add Authentication in Azure App Service configuration |
2 | 11 | 1. Click on `Authentication` from left menu. |
3 | 12 |
|
4 | 13 |  |
5 | 14 |
|
6 | | -2. Click on `+ Add Provider` to see a list of identity providers. |
| 15 | +2. Click on `+ Add identity provider` to see a list of identity providers. |
7 | 16 |
|
8 | 17 |  |
9 | 18 |
|
10 | | -3. Click on `+ Add Provider` to see a list of identity providers. |
| 19 | +3. Click on `Identity Provider` dropdown to see a list of identity providers. |
11 | 20 |
|
12 | 21 |  |
13 | 22 |
|
14 | | -4. Select the first option `Microsoft Entra Id` from the drop-down list. |
| 23 | +4. Select the first option `Microsoft Entra Id` from the drop-down list and select `client secret expiration` under App registration. |
| 24 | +> 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. |
15 | 25 | |
16 | 26 |  |
17 | 27 |
|
18 | 28 | 5. Accept the default values and click on `Add` button to go back to the previous page with the identity provider added. |
19 | 29 |
|
20 | 30 |  |
21 | 31 |
|
22 | | - ### Creating a new App Registration |
23 | | -1. Click on `Home` and select `Microsoft Entra ID`. |
24 | | - |
25 | | - |
26 | | - |
27 | | -2. Click on `App registrations`. |
28 | | - |
29 | | - |
30 | | - |
31 | | -3. Click on `+ New registration`. |
32 | | - |
33 | | - |
34 | | - |
35 | | -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. |
36 | | - |
37 | | - |
38 | | - |
39 | | -5. After application is created sucessfully, then click on `Add a Redirect URL`. |
40 | | - |
41 | | - |
42 | | - |
43 | | -6. Click on `+ Add a platform`. |
44 | | - |
45 | | - |
46 | | - |
47 | | -7. Click on `Web`. |
48 | | - |
49 | | - |
50 | | - |
51 | | -8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Step 4] 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. |
52 | | - |
53 | | - |
| 32 | +6. You have successfully added app authentication, and now required to log in to access the application. |
0 commit comments