Created
July 11, 2022 11:24
-
-
Save anm237/4acb2fc3486d463d3b89821a411d6356 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="Unauthorized"> | |
<issuer-signing-keys> | |
<key>123456781234567812345678</key> | |
</issuer-signing-keys> | |
<required-claims> | |
<claim name="admin" match="any"> | |
<value>true</value> | |
</claim> | |
</required-claims> | |
</validate-jwt> | |
</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