You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #288877 from Akhilesh-microsoft/ACA/authentication_github
The article seems well written to me, Verified the article, reviewed the content, and introduced minor tweaks. Updated the latest content and ms.date w.r.t freshness pass.
Copy file name to clipboardExpand all lines: articles/container-apps/authentication-github.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: container-apps
5
5
author: craigshoemaker
6
6
ms.service: azure-container-apps
7
7
ms.topic: how-to
8
-
ms.date: 04/20/2022
8
+
ms.date: 10/28/2024
9
9
ms.author: cshoe
10
10
---
11
11
@@ -17,11 +17,11 @@ To complete the procedure in this article, you need a GitHub account. To create
17
17
18
18
## <aname="github-register"> </a>Register your application with GitHub
19
19
20
-
1. Sign in to the [Azure portal] and go to your application. Copy your **URL**. You'll use it to configure your GitHub app.
20
+
1. Sign in to the [Azure portal] and go to your application. Copy your **URL**. You use it to configure your GitHub app.
21
21
1. Follow the instructions for [creating an OAuth app on GitHub](https://docs.github.com/developers/apps/building-oauth-apps/creating-an-oauth-app). In the **Authorization callback URL** section, enter the HTTPS URL of your app and append the path `/.auth/login/github/callback`. For example, `https://<hostname>.azurecontainerapps.io/.auth/login/github/callback`.
22
-
1. On the application page, make note of the **Client ID**, which you'll need later.
22
+
1. On the application page, make note of the **Client ID**, which you need later.
23
23
1. Under **Client Secrets**, select **Generate a new client secret**.
24
-
1. Make note of the client secret value, which you'll need later.
24
+
1. Make note of the client secret value, which you need later.
25
25
26
26
> [!IMPORTANT]
27
27
> The client secret is an important security credential. Do not share this secret with anyone or distribute it with your app.
@@ -32,15 +32,15 @@ To complete the procedure in this article, you need a GitHub account. To create
32
32
1. Select **Authentication** in the menu on the left. Select **Add identity provider**.
33
33
1. Select **GitHub** in the identity provider dropdown. Paste in the `Client ID` and `Client secret` values that you obtained previously.
34
34
35
-
The secret will be stored as a secret in your container app.
35
+
The secret is stored as a secret in your container app.
36
36
37
-
1. If you're configuring the first identity provider for this application, you'll also be prompted with a **Container Apps authentication settings** section. Otherwise, you may move on to the next step.
37
+
1. If you're configuring the first identity provider for this application, you also see a **Container Apps authentication settings** section. Otherwise, you can move on to the next step.
38
38
39
39
These options determine how your application responds to unauthenticated requests. The default selections redirect all requests to sign in with this new provider. You can change customize this behavior now or adjust these settings later from the main **Authentication** screen by choosing **Edit** next to **Authentication settings**. To learn more about these options, see [Authentication flow](./authentication.md#authentication-flow).
40
40
41
41
1. Select **Add**.
42
42
43
-
You're now ready to use GitHub for authentication in your app. The provider will be listed on the **Authentication** screen. From there, you can edit or delete this provider configuration.
43
+
You're now ready to use GitHub for authentication in your app. The provider is listed on the **Authentication** screen. From there, you can edit or delete this provider configuration.
0 commit comments