Skip to content

Commit d399de6

Browse files
committed
update token validation policies
1 parent d9b5177 commit d399de6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

articles/api-management/validate-azure-ad-token-policy.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: dlepow
77

88
ms.service: api-management
99
ms.topic: article
10-
ms.date: 12/08/2022
10+
ms.date: 10/19/2023
1111
ms.author: danlep
1212
---
1313

@@ -92,7 +92,6 @@ The `validate-azure-ad-token` policy enforces the existence and validity of a JS
9292
### Usage notes
9393

9494
* You can use access restriction policies in different scopes for different purposes. For example, you can secure the whole API with Microsoft Entra authentication by applying the `validate-azure-ad-token` policy on the API level, or you can apply it on the API operation level and use `claims` for more granular control.
95-
* When using a custom header (`header-name`), the header value cannot be prefixed with `Bearer ` and should be removed.
9695

9796
## Examples
9897

articles/api-management/validate-jwt-policy.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: dlepow
77

88
ms.service: api-management
99
ms.topic: article
10-
ms.date: 12/08/2022
10+
ms.date: 10/19/2023
1111
ms.author: danlep
1212
---
1313

@@ -121,7 +121,6 @@ The `validate-jwt` policy enforces existence and validity of a supported JSON we
121121
* The policy supports tokens encrypted with symmetric keys using the following encryption algorithms: A128CBC-HS256, A192CBC-HS384, A256CBC-HS512.
122122
* To configure the policy with one or more OpenID configuration endpoints for use with a self-hosted gateway, the OpenID configuration endpoints URLs must also be reachable by the cloud gateway.
123123
* You can use access restriction policies in different scopes for different purposes. For example, you can secure the whole API with Microsoft Entra authentication by applying the `validate-jwt` policy on the API level, or you can apply it on the API operation level and use `claims` for more granular control.
124-
* When using a custom header (`header-name`), the header value cannot be prefixed with `Bearer ` and should be removed.
125124

126125

127126
## Examples

0 commit comments

Comments
 (0)