Skip to content

Commit b51a4cd

Browse files
authored
Update validate-azure-ad-token-policy.md
Remove validate-jwt example
1 parent c2a405a commit b51a4cd

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,6 @@ The `validate-azure-ad-token` policy enforces the existence and validity of a JS
102102

103103
### Simple token validation
104104

105-
```xml
106-
<validate-jwt header-name="Authorization" require-scheme="Bearer">
107-
<issuer-signing-keys>
108-
<key>{{jwt-signing-key}}</key> <!-- signing key specified as a named value -->
109-
</issuer-signing-keys>
110-
<audiences>
111-
<audience>@(context.Request.OriginalUrl.Host)</audience> <!-- audience is set to API Management host name -->
112-
</audiences>
113-
<issuers>
114-
<issuer>http://contoso.com/</issuer>
115-
</issuers>
116-
</validate-jwt>
117-
```
118-
119-
### Simple token validation
120-
121105
The following policy is the minimal form of the `validate-azure-ad-token` policy. It expects the JWT to be provided in the default `Authorization` header using the `Bearer` scheme. In this example, the Azure AD tenant ID and client application ID are provided using named values.
122106

123107
```xml

0 commit comments

Comments
 (0)