Skip to main content
This integration embeds Circuit’s authentication system directly into your app using an iframe that handles passkey authentication and returns control-plane auth tokens to use with the control-plane REST API.

Authentication Flow

  1. User sees a Circuit login interface embedded in your app
  2. User authenticates using their passkey (fingerprint, face ID, etc.)
  3. Circuit sends your app an API auth token via a secure message
  4. Your app receives the token and can now call Circuit’s API
  5. User is logged in with no redirects or popups
The API auth token authenticates Circuit API requests for that user. Wallet execution calls may also require a separate wallet execution permit.

Implementation Guide

iframe Message Communication Protocol

Authentication Requirements

iframe Structure

Configuration Options

Error Codes And Recovery