Skip to content

IntegrationsSSO

Duo API integration

Put Duo in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

01Proxy API

Call the Duo API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Duo API. You call us, we call Duo, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIDuo

GEThttps://api.truto.one/proxy/?integrated_account_id=…

Duo’s own response, passed back

02Unified API

Duo is in the Unified User Directory API. One call for every User Directory app.

Ask for roles or users the same way for Duo and every other User Directory app. Truto makes Duo’s own call and returns the same data shape.

Add-on: $499 per category a month. 30-day trial on Free.

Duo is mappedSame call, same data shapeStart free

Unified User Directory API2 resources

03Sync and webhooks

Sync Duo data on a schedule. Sent to your webhook.

A sync job reads Duo records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

04Custom actions

Add any Duo endpoint. With the Truto CLI.

Need a Duo endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Duo path through the Custom API.

On every plan, including Free. Truto CLI

Use cases

Why integrate with Duo.

  1. Automate user provisioning and deprovisioning across Duo

    HR and identity platforms can automatically create users in Duo, assign them to groups, and disable accounts when employees leave — ensuring MFA coverage stays in sync with the employee lifecycle without manual admin intervention.

  2. Centralize identity visibility for security posture management

    Cybersecurity SaaS products can pull Duo user and role data into a unified identity view, enabling customers to detect orphaned accounts, audit group memberships, and identify users who lack MFA enrollment across their entire tool stack.

  3. Enrich helpdesk workflows with Duo user context

    ITSM and helpdesk platforms can surface Duo user profiles and group assignments directly inside support tickets, giving IT agents the context they need to resolve MFA-related issues without switching to the Duo Admin panel.

  4. Sync organizational roles into Duo groups for policy enforcement

    SaaS products managing org structures — from HRIS to governance platforms — can map their internal roles to Duo groups, ensuring that access policies like hardware token requirements or restricted network access automatically apply to the right people.

  5. Build cross-platform identity reconciliation for compliance audits

    GRC and compliance platforms can pull user and role data from Duo alongside other identity providers, enabling customers to generate audit-ready reports showing who has access to what and whether MFA is enforced consistently.

What you can build

Ship these with Truto and Duo.

  • Real-time Duo user directory sync

    Automatically mirror your product's user base into Duo, creating and disabling user accounts as employees join or leave the organization.

  • Group-based role mapping engine

    Map roles defined in your SaaS product to Duo groups so that MFA and access policies are automatically applied based on organizational role.

  • Unified identity dashboard with Duo coverage

    Display Duo user enrollment status and group memberships alongside data from other identity providers in a single pane of glass for security teams.

  • Offboarding lockout automation

    Trigger immediate Duo account disablement when an employee is terminated in your HR or identity platform, cutting off access to all Duo-protected applications.

  • MFA enrollment gap detector

    Compare your product's active user list against Duo's enrolled users to flag employees who haven't completed MFA setup and need follow-up.

  • In-app Duo user profile viewer for support agents

    Embed a read-only Duo user profile panel inside your helpdesk or admin UI so agents can see a user's status and group memberships without leaving your product.

Security

Your customers’ Duo data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Our OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Duo account

    Use Truto’s frontend SDK to connect your customer’s Duo account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Duo

    Truto’s Proxy API is a 1-to-1 mapping of the Duo API. You call us, we call Duo, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Duo’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Duo on Truto.

Which Duo API does Truto connect to?

Truto connects to Duo's Admin API, which provides programmatic access to user and group management — the core entities mapped to Truto's Unified User Directory API (Users and Roles).

What authentication method does Duo's API use?

Duo's Admin API uses HMAC-SHA1 signed requests with an integration key and secret key. Truto handles this authentication on your behalf, so your application never needs to manage Duo's signing logic directly.

Are Duo-specific tools available out of the box?

Duo integration tools are built on request. The Unified User Directory API (Users and Roles) is available for mapping Duo users and groups. If you need additional capabilities like auth log ingestion or device management, contact Truto to discuss your requirements.

How does Truto handle Duo's API rate limits?

Truto manages rate limiting, pagination, and retries automatically when communicating with Duo's Admin API, so your application doesn't need to implement backoff logic or pagination cursors.

Can I map Duo groups to the Roles resource in the Unified User Directory API?

Yes. Duo groups — which are used to apply access policies — are mapped to the Roles resource in Truto's Unified User Directory API, letting you manage group assignments through a standardized interface.

What data can I read and write for Duo users through Truto?

Through the Unified User Directory API, you can read and manage core user attributes such as name, email, status, and group memberships. Duo-specific fields like device associations or bypass codes would require custom tool development built on request.

Duo

Get Duo integrated into your app

Sign up free, connect a test Duo account and make your first call today. No card and no sales call.