Created
April 11, 2020 19:26
-
-
Save staslebedenko/ef9d5839dbe8e5fe7bf06bfd0717a1b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<policies> | |
<inbound> | |
<base /> | |
<validate-jwt header-name="Authorization" failed-validation-httpcode="401" failed-validation-error-message="Failed."> | |
<openid-config url="https://demo.identityserver.io/.well-known/openid-configuration" /> | |
<audiences> | |
<audience>api</audience> | |
</audiences> | |
<issuers> | |
<issuer>https://demo.identityserver.io/</issuer> | |
</issuers> | |
</validate-jwt> | |
<set-backend-service id="apim-generated-policy" backend-id="identity-demo-api" /> | |
</inbound> | |
<backend> | |
<base /> | |
</backend> | |
<outbound> | |
<base /> | |
</outbound> | |
<on-error> | |
<base /> | |
</on-error> | |
</policies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment