Skip to content

Commit 7e86014

Browse files
chore: Added app authentication readme
2 parents 3276729 + 19b29f6 commit 7e86014

16 files changed

+102
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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
11+
1. Click on `Authentication` from left menu.
12+
13+
![Authentication](images/AppAuthentication.png)
14+
15+
2. Click on `+ Add identity provider` to see a list of identity providers.
16+
17+
![Authentication Identity](images/AppAuthenticationIdentity.png)
18+
19+
3. Click on `Identity Provider` dropdown to see a list of identity providers.
20+
21+
![Add Provider](images/AppAuthIdentityProvider.png)
22+
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](create_new_app_registration.md) and come back to this step to complete the app authentication.
25+
26+
![Add Provider](images/AppAuthIdentityProviderAdd.png)
27+
28+
5. Accept the default values and click on `Add` button to go back to the previous page with the identity provider added.
29+
30+
![Add Provider](images/AppAuthIdentityProviderAdded.png)
31+
32+
6. You have successfully added app authentication, and now required to log in to access the application.
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](AppAuthentication.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)
350 KB
Loading
194 KB
Loading
41.6 KB
Loading
48 KB
Loading
72.4 KB
Loading
73 KB
Loading
52.4 KB
Loading
65.2 KB
Loading

0 commit comments

Comments
 (0)