Skip to main content

Step 1 — Find the denial in the audit log

Go to Audit Log and filter by event type oauth.token_denied and outcome failure. Click the event to see the full details including the exact input that was evaluated.

Step 2 — Use the What-If Tester

Go to Policies → [your policy] → What-If and enter the same request:
The result shows the exact rule and line number that made the decision.

Step 3 — Fix the policy

Update the policy in the editor. Use Shadow Mode to test the fix in production before activating:
  1. Update the policy with Shadow Mode on
  2. Monitor the audit log for 24 hours
  3. Click Activate when confident

Common denial reasons