Articles in this section

Policy Designer - Testing Tool

Published:

Testing Policies

This feature will help you quickly test your policy with your tokens and requested data.
You can easily pass custom data that helps test all your cases and save time.
Agama Lab uses Jans Cedarling WASM to test requests in this section.

Note: Before using this feature, make sure you have pre-released or released your store and have the CJAR file on GitHub releases. Use the release feature to generate a CJAR and release the store on GitHub.

  1. The first step is to set the initial settings for cedarling-wasm.

testing.png

  1. The second step is to set the Access Token, ID Token, and UserInfo Token that you want to authorize. Use a textarea to set tokens, and the JSON editor will show you the token’s claims.

principal.png

  1. The third step is to set an action.

actions.png

  1. The fourth step is to set the resource.

resources.png

  1. In the fifth step, you can set the context.

  2. In the last step, you can see the entire request that will be sent to Jans Cedarling. Click on the Test button to authorize the request.

test-result.png

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied