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 #288297 from Akhilesh-microsoft/ACA/authentication_openid
[ACA: authentication-openid]: Verified the article, reviewed the content, and fixed all editorial issues. Updated the latest content and ms.date w.r.t freshness pass.
Copy file name to clipboardExpand all lines: articles/container-apps/authentication-openid.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,33 +5,33 @@ 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/14/2024
9
9
ms.author: cshoe
10
10
---
11
11
12
12
# Enable authentication and authorization in Azure Container Apps with a Custom OpenID Connect provider
13
13
14
-
This article shows you how to configure Azure Container Apps to use a custom authentication provider that adheres to the [OpenID Connect specification](https://openid.net/connect/). OpenID Connect (OIDC) is an industry standard used by many identity providers (IDPs). You don't need to understand the details of the specification in order to configure your app to use an adherent IDP.
14
+
This article shows you how to configure Azure Container Apps to use a custom authentication provider that adheres to the [OpenID Connect specification](https://openid.net/connect/). OpenID Connect (OIDC) is an industry standard widely adopted by many identity providers (IDPs). You don't need to understand the details of the specification in order to configure your app to use an adherent IDP.
15
15
16
16
You can configure your app to use one or more OIDC providers. Each must be given a unique alphanumeric name in the configuration, and only one can serve as the default redirect target.
17
17
18
18
## <aname="openid-register"> </a>Register your application with the identity provider
19
19
20
-
Your provider will require you to register the details of your application with it. One of these steps involves specifying a redirect URI. This redirect URI will be of the form `<app-url>/.auth/login/<provider-name>/callback`. Each identity provider should provide more instructions on how to complete these steps.
20
+
Your provider requires you to register the details of your application with it. One of these steps involves specifying a redirect URI. This redirect URI is of the form `<app-url>/.auth/login/<provider-name>/callback`. Each identity provider should provide more instructions on how to complete these steps.
21
21
22
22
> [!NOTE]
23
23
> Some providers may require additional steps for their configuration and how to use the values they provide. For example, Apple provides a private key which is not itself used as the OIDC client secret, and you instead must use it craft a JWT which is treated as the secret you provide in your app config (see the "Creating the Client Secret" section of the [Sign in with Apple documentation](https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens))
24
24
>
25
25
26
-
You'll need to collect a **client ID** and **client secret** for your application.
26
+
You need to collect a **client ID** and **client secret** for your application.
27
27
28
28
> [!IMPORTANT]
29
-
> The client secret is an important security credential. Do not share this secret with anyone or distribute it within a client application.
29
+
> The client secret is a critical security credential. Do not share this secret with anyone or distribute it within a client application.
30
30
>
31
31
32
-
Additionally, you'll need the OpenID Connect metadata for the provider. This information is often exposed via a [configuration metadata document](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfig), which is the provider's Issuer URL suffixed with `/.well-known/openid-configuration`. Gather this configuration URL.
32
+
Additionally, you need the OpenID Connect metadata for the provider. This information is often exposed via a [configuration metadata document](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfig), which is the provider's Issuer URL suffixed with `/.well-known/openid-configuration`. Make sure to gather this configuration URL.
33
33
34
-
If you're unable to use a configuration metadata document, you'll need to gather the following values separately:
34
+
If you're unable to use a configuration metadata document, you need to gather the following values separately:
35
35
36
36
- The issuer URL (sometimes shown as `issuer`)
37
37
- The [OAuth 2.0 Authorization endpoint](https://tools.ietf.org/html/rfc6749#section-3.1) (sometimes shown as `authorization_endpoint`)
@@ -52,7 +52,7 @@ If you're unable to use a configuration metadata document, you'll need to gather
52
52
53
53
1. Provide the earlier collected **Client ID** and **Client Secret** in the appropriate fields.
54
54
55
-
1. Specify an application setting name for your client secret. Your client secret will be stored as a [secret](manage-secrets.md) in your container app.
55
+
1. Specify an application setting name for your client secret. Your client secret is stored as a [secret](manage-secrets.md) in your container app.
56
56
57
57
1. Press the **Add** button to finish setting up the identity provider.
0 commit comments