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.
- The first step is to set the initial settings for cedarling-wasm.
- 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.
- The third step is to set an action.
- The fourth step is to set the resource.
-
In the fifth step, you can set the context.
-
In the last step, you can see the entire request that will be sent to Jans Cedarling. Click on the
Testbutton to authorize the request.