Configure Human Approval with Dtwo Authentication

Set up human approval for a gateway that signs users in through Dtwo.

On this page
  1. Overview
  2. Configure your Dtwo gateway
  3. Test an approval

Overview

This guide turns on human approval for gateways that sign users in through Dtwo authentication.

Configure your Dtwo gateway

Go to your gateway in the Dtwo UI and open Configuration → Advanced. In the gateway section, add a session_control entry next to your existing authentication entry:

session_control:
  clearing:
    enabled: true

Save and deploy your gateway.

Test an approval

In your AI client, ask the agent to do something that needs approval. For example, invoke a policy that enables a dynamic safeguard and ask to disable the safeguard. The agent returns a link.

Open the link and sign in to Dtwo as the same user your AI client is signed in as, then approve the action. You may be asked to sign in again even if you’re already signed in — that’s expected.

Having trouble?

Email us and we'll help you get set up.

Email support
Get in touch

Tell us what you need to govern.

A few lines is plenty — what you're deploying, and what you need control over. We read every one.

↑↓ to navigate ↵ to open