Skip to content

Commit 55a554a

Browse files
Merge pull request #12 from microsoft/dev
docs: Updated the authentication steps
2 parents 600c0e3 + 16be981 commit 55a554a

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

docs/ConfigureAppAuthentication.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ We will add Microsoft Entra ID as an authentication provider to API and Web Appl
1313

1414
1. Add Authentication Provider in Web Application
1515

16-
- Go to deployed Container App and select `ca-<your environment>-<randomname>-web` and click **Add Identity Provider** button in Authentication.
16+
- Go to deployed Container App and select `ca-<randomname>-web` and click **Add Identity Provider** button in Authentication.
1717
![add_auth_provider_web_1](./Images/add_auth_provider_web_1.png)
1818

1919
- Select **Microsoft** and set **Client secret expiration**, then click **Add** button.
2020
![add_auth_provider_web_2](./Images/add_auth_provider_web_2.png)
2121

2222
2. Add Authentication Provider in API Service
2323

24-
- Go to deployed Container App and select `ca-<your environment>-<randomname>-api` and click **Add Identity Provider** button in Authentication.
24+
- Go to deployed Container App and select `ca-<randomname>-api` and click **Add Identity Provider** button in Authentication.
2525
![add_auth_provider_api_1](./Images/add_auth_provider_api_1.png)
2626

2727
- Select **Microsoft** and set **Client secret expiration**.
@@ -34,7 +34,7 @@ We will add Microsoft Entra ID as an authentication provider to API and Web Appl
3434

3535
1. Set Redirect URI in Single Page Application Platform
3636

37-
- Go to deployed Container App `ca-<your environment>-<randomname>-web` and select **Authentication** menu, then select created Application Registration.
37+
- Go to deployed Container App `ca-<randomname>-web` and select **Authentication** menu, then select created Application Registration.
3838
![configure_app_registration_web_1](./Images/configure_app_registration_web_1.png)
3939

4040
- Select **Authentication**, then select **+ Add a platform** menu.
@@ -43,7 +43,7 @@ We will add Microsoft Entra ID as an authentication provider to API and Web Appl
4343
- Select **Single-page application**.
4444
![configure_app_registration_web_3](./Images/configure_app_registration_web_3.png)
4545

46-
- Add Container App `ca-<your environment>-<randomname>-web`'s URL.
46+
- Add Container App `ca-<randomname>-web`'s URL.
4747
![configure_app_registration_web_4](./Images/configure_app_registration_web_4.png)
4848

4949
- You may get this URL from here in your Container App.
@@ -74,7 +74,7 @@ We will add Microsoft Entra ID as an authentication provider to API and Web Appl
7474

7575
1. Grab Scope Name for Impersonation
7676

77-
- Go to deployed Container App `ca-<your environment>-<randomname>-api` and select **Authentication** menu, then select created Application Registration.
77+
- Go to deployed Container App `ca-<randomname>-api` and select **Authentication** menu, then select created Application Registration.
7878
![configure_app_registration_api_1](./Images/configure_app_registration_api_1.png)
7979

8080
- Select **Expose an API** in the left menu. Copy the Scope name, then paste it in some temporary place.
@@ -83,11 +83,11 @@ We will add Microsoft Entra ID as an authentication provider to API and Web Appl
8383

8484
## Step 4: Add Web Application's Client Id to Allowed Client Applications List in API Application Registration
8585

86-
1. Go to the deployed Container App `ca-<your environment>-<randomname>-api`, select **Authentication**, and then click **Edit**.
87-
![add_client_id_to_api_1](./Images/add_client_id_to_api_1.png)
86+
1. Go to the deployed Container App `ca-<randomname>-api`, select **Authentication**, and then click **Edit**.
87+
![add_client_id_to_web_1](./Images/add_client_id_to_web_1.png)
8888

8989
2. Select **Allow requests from specific client applications**, then click the **pencil** icon to add the Client Id.
90-
![add_client_id_to_api_2](./Images/add_client_id_to_api_2.png)
90+
![add_client_id_to_web_2](./Images/add_client_id_to_web_2.png)
9191

9292
3. Add the **Client Id** obtained from [Step 2: Configure Application Registration - Web Application](#step-2-configure-application-registration---web-application), then save.
9393
![add_client_id_to_web_3](./Images/add_client_id_to_web_3.png)
@@ -98,10 +98,10 @@ In previous steps for [Configure Application Registration - Web Application](#st
9898

9999
Now, we will edit and deploy the Web Application Container with updated Environment variables.
100100

101-
1. Select **Containers** menu under **Application**, then click **Edit and Deploy** menu.
102-
![update_env_app_1](./Images/update_env_app_1.png)
103-
104-
2. Select Container image and click **Edit**. Under **Environment variables** section, update 3 values which were taken in previous steps for **APP_MSAL_AUTH_CLIENT_ID**, **APP_MSAL_AUTH_SCOPE**, **APP_MSAL_TOKEN_SCOPE**.
101+
1. Select **Containers** menu under **Application**. Then click **Environment variables** tab.
102+
![update_env_app_1_1](./Images/update_env_app_1_1.png)
103+
2. Update 3 values which were taken in previous steps for **APP_MSAL_AUTH_CLIENT_ID**, **APP_MSAL_AUTH_SCOPE**, **APP_MSAL_TOKEN_SCOPE**.
104+
Click on **Save as a new revision**
105105
The updated revision will be activated soon.
106106

107107
## Conclusion

docs/DeploymentGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ When you start the deployment, most parameters will have **default values**, but
120120
By default, the **GPT model capacity** in deployment is set to **30k tokens**.
121121
> **We recommend increasing the capacity to 100k tokens for optimal performance.**
122122

123-
To adjust quota settings, follow these [steps](./docs/AzureGPTQuotaSettings.md).
123+
To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
124124

125125
**⚠️ Warning:** Insufficient quota can cause deployment errors. Please ensure you have the recommended capacity or request additional capacity before deploying this solution.
126126

docs/Images/update_env_app_1_1.png

121 KB
Loading

0 commit comments

Comments
 (0)