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
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
@@ -15,7 +15,7 @@ This article shows how to configure Azure Container Apps to use GitHub as an aut
15
15
16
16
To complete the procedure in this article, you need a GitHub account. To create a new GitHub account, go to [GitHub](https://github.com/).
17
17
18
-
## <aname="github-register"> </a>Register your application with GitHub
18
+
## Register your application with GitHub
19
19
20
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`.
@@ -24,19 +24,19 @@ To complete the procedure in this article, you need a GitHub account. To create
24
24
1. Make note of the client secret value, which you need later.
25
25
26
26
> [!IMPORTANT]
27
-
> The client secret is an important security credential. Do not share this secret with anyone or distribute it with your app.
27
+
> The client secret is an important security credential. Don't share this secret with anyone or distribute it with your app.
28
28
29
-
## <aname="github-secrets"> </a>Add GitHub information to your application
29
+
## Add GitHub information to your application
30
30
31
31
1. Sign in to the [Azure portal] and navigate to your app.
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 is stored as a secret in your container app.
35
+
The secret is stored as a secret in your container app.
36
36
37
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
-
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).
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
@@ -46,8 +46,8 @@ You're now ready to use GitHub for authentication in your app. The provider is l
46
46
47
47
Use the following guides for details on working with authenticated users.
48
48
49
-
*[Customize sign-in and sign-out](authentication.md#customize-sign-in-and-sign-out)
50
-
*[Access user claims in application code](authentication.md#access-user-claims-in-application-code)
49
+
-[Customize sign-in and signout](authentication.md#customize-sign-in-and-sign-out)
50
+
-[Access user claims in application code](authentication.md#access-user-claims-in-application-code)
0 commit comments