Skip to content

Commit 300c6fa

Browse files
authored
Merge pull request #126043 from changeworld/patch-148
Fix typo
2 parents 1df78ef + 2b30eb7 commit 300c6fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/how-tos/call-automation/includes/secure-webhook-endpoint-csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Each mid-call webhook callback sent by Call Automation uses a signed JSON Web To
1818
1. Obtain the Open ID configuration URL: <https://acscallautomation.communication.azure.com/calling/.well-known/acsopenidconfiguration>
1919
2. Install the [Microsoft.AspNetCore.Authentication.JwtBearer NuGet](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.JwtBearer) package.
2020
3. Configure your application to validate the JWT using the NuGet package and the configuration of your Azure Communication Services resource. You need the `audience` values as it is present in the JWT payload.
21-
4. Validate the issuer, audience and the JWT token.
21+
4. Validate the issuer, audience and the JWT.
2222
- The audience is your Azure Communication Services resource ID you used to set up your Call Automation client. Refer [here](../../../quickstarts/voice-video-calling/get-resource-id.md) about how to get it.
23-
- The JSON Web Key Set (JWKS) endpoint in the OpenId configuration contains the keys used to validate the JWT token. When the signature is valid and the token hasn't expired (within 5 minutes of generation), the client can use the token for authorization.
23+
- The JSON Web Key Set (JWKS) endpoint in the OpenId configuration contains the keys used to validate the JWT. When the signature is valid and the token hasn't expired (within 5 minutes of generation), the client can use the token for authorization.
2424

2525
This sample code demonstrates how to use `Microsoft.IdentityModel.Protocols.OpenIdConnect` to validate webhook payload
2626

0 commit comments

Comments
 (0)