ChainGuard OAuth

User-Controlled Web3 Authentication

ChainGuard OAuth enables seamless, secure authentication and action authorization for your Web3 applications. Users authenticate with their ChainGuard identity (email/password + mobile 2FA) and grant permission-based data package access to your dApp or enterprise platform.

Based on granted permissions, your platform can request actions to be performed with the user's wallet or vault. Critical security: Platforms can NEVER invoke wallet payments directly. All operations, including wallet payments, require mandatory 2FA - users must first sign a QR code with their ChainGuard mobile app before any wallet operation is invoked. Only then is the wallet payload sent for signature. Vault operations require 3FA (2FA + guardian attestation for gas payment). This multi-layer security is only possible because of ChainGuard's smart shielded environment.

Built on OAuth 2.0 authorization code flow with enterprise-grade security. Your users get unified identity across all dApps, while you get a simple integration that works across Base, Arbitrum, Optimism, Polygon, and Ethereum mainnet.

Featured Collections

AllArtGaming
Cosmic #1234
2.5 ETH
Digital Art #567
1.8 ETH
Pixel Hero #890
3.2 ETH
ArrowRight icon

ChainGuard App

OAuth 2.0
Standard Protocol
2FA/3FA
Multi-Factor Security
5+
5+ Blockchain Networks
Privacy
Permission-Based

How ChainGuard OAuth Works

Simple, secure authentication flow that eliminates wallet connection complexity

1
Globe icon

User Visits Your dApp

User clicks "Sign in with ChainGuard" on your dApp. Your app redirects to ChainGuard authorization endpoint with your client ID and requested scopes.

2
Smartphone icon

Scan Login Request

User scans QR code with ChainGuard mobile app to initiate login. This is the first step of mandatory 2FA - users must authenticate via mobile app before any operation.

3
Lock icon

Authorize Permissions for dApp

User reviews and grants permission-based data access. User sees exactly what data your dApp will access (profile, email, wallet address, etc.) and can approve or deny specific permissions.

4
Server icon

Backend Validates Connection

Your backend receives the authorization code and validates the connection request. Backend exchanges the code for access token and refresh token using your client secret. All token operations happen server-side for security.

5
CheckCircle icon

Logged In Status Sent to Frontend

After successful validation, your backend sends the logged in status to your frontend. Your dApp updates the UI to show the authenticated state (e.g., marketplace dashboard, user profile, etc.). User is now fully logged in and can interact with your platform.

Why Choose ChainGuard OAuth?

Enterprise-grade authentication designed for Web3 applications

Shield icon

Multi-Factor Security

Email/password (1FA) + mobile QR code scan (2FA) = enterprise-grade security. Optional wallet signature adds 3FA for high-security operations.

Eye icon

Permission-Based Data Package

Users explicitly grant permissions for data package access (profile, email, activity, connections). Based on permissions, your platform can request actions to be performed with the user's wallet or vault.

FileCheck icon

Unified Identity

Users authenticate once with ChainGuard and access all integrated dApps. No repeated wallet connections or identity verification.

Zap icon

Simple Integration

Standard OAuth 2.0 authorization code flow. Works with any backend language. Comprehensive documentation and SDK support.

Lock icon

Mandatory 2FA Before Wallet Operations

Platforms can NEVER invoke wallet payments directly. All operations require mandatory 2FA - users must sign a QR code with their ChainGuard app before any wallet operation. Vault operations require 3FA (2FA + guardian attestation). This multi-layer security is only possible in ChainGuard's smart shielded environment.

CheckCircle icon

Transaction Proof & Execution

ChainGuard executes all transactions through our backend and provides transaction proof and execution confirmation. Your platform receives verifiable proof to update your database or frontend.

TrendingUp icon

Multi-Chain Support

Works across Base, Arbitrum, Optimism, Polygon, and Ethereum mainnet. One integration, all networks.

What Makes ChainGuard OAuth Different?

Unlike traditional Web3 authentication, ChainGuard provides a secure, isolated environment that protects users while enabling seamless dApp integration

Lock icon

Mandatory 2FA Before Wallet Operations

Unlike MetaMask, WalletConnect, or Web3Auth: Platforms can NEVER invoke wallet payments directly. All operations require mandatory 2FA - users must first sign a QR code with their ChainGuard mobile app before any wallet operation is even initiated. Vault operations require 3FA (2FA + guardian attestation). This critical security step is only possible because of ChainGuard's smart shielded environment.

FileCheck icon

Transaction Proof & Execution

Unlike traditional OAuth (Auth0, Okta): ChainGuard doesn't just authenticate users - we execute transactions and provide verifiable proof of execution. Your platform receives transaction hashes, block numbers, and cryptographic proof to update your database or frontend with confidence.

Shield icon

No Wallet Connection Required

Unlike Magic Link or Web3Auth: Users authenticate with email/password + mobile 2FA - no browser extension or wallet app required. This dramatically reduces friction and makes Web3 accessible to non-crypto-native users while maintaining enterprise-grade security.

Zap icon

Action Authorization, Not Just Auth

Unlike standard OAuth providers: ChainGuard OAuth enables action requests based on permissions. Your platform can request payments, transfers, or other blockchain actions. Users sign in ChainGuard's trusted environment, and you receive proof of execution - all without handling wallet connections.

Database icon

Multi-Chain Native

Unlike single-chain solutions: ChainGuard OAuth works seamlessly across Base, Arbitrum, Optimism, Polygon, and Ethereum mainnet. One integration, all networks. Users can interact with multi-chain dApps without managing separate wallet connections per network.

Eye icon

Permission-Based Data Packages

Unlike all-or-nothing access: Users explicitly grant permissions for specific data packages (profile, email, activity, wallet addresses). Based on these permissions, your platform can request specific actions. Users maintain full control over what data and actions are shared.

The ChainGuard Advantage

ChainGuard OAuth combines the security of isolated wallet operations with the convenience of traditional OAuth. Unlike solutions that require wallet connections (risking phishing and unauthorized access) or traditional OAuth (lacking blockchain transaction capabilities), ChainGuard provides a complete solution: secure authentication, action authorization, and verifiable transaction execution - all within a trusted, isolated environment.

🔒 Critical Security Innovation: Platforms can NEVER invoke wallet payments directly. Every operation requires mandatory 2FA (QR code signature with ChainGuard app) before wallet operations are even initiated. Vault operations require 3FA (2FA + guardian attestation). This multi-layer protection is only possible because of ChainGuard's callback system - users always sign in ChainGuard's module frontend, never in your client's frontend.

🏆 Market First: ChainGuard is the first to bring this complete package to market. While competitors offer individual features (Web3Auth has 2FA, D3fenders has vault protection, Auth0 has OAuth), no other solution combines OAuth 2.0 + mandatory 2FA before wallet operations + callback system + transaction execution + 3FA vault operations + multi-chain support in one integrated platform. This is the first production-ready Web3 OAuth solution that eliminates direct wallet connections while maintaining enterprise-grade security.

Quick Integration Guide

Get started in minutes with our simple integration process

Step 1

Register Your Application

Create a ChainGuard account and register your dApp in the developer dashboard. You'll receive:

  • Client ID (public identifier)
  • Client Secret (keep secure, backend only)
  • Redirect URI configuration
  • Scope permissions setup
Step 2

Add Authorization Button

Add "Sign in with ChainGuard" button to your dApp. Redirect users to:

https://module.chain-fi.io/oauth/authorize? client_id=YOUR_CLIENT_ID &redirect_uri=YOUR_CALLBACK_URL &response_type=code &scope=profile email &state=RANDOM_STATE_STRING
Step 3

Handle Callback

Create a callback endpoint that receives the authorization code:

POST /api/oauth/token { "code": "authorization_code", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "redirect_uri": "YOUR_CALLBACK_URL", "grant_type": "authorization_code" }
Step 4

Access User Data

Use the access token to retrieve user information:

GET /api/oauth/userinfo Authorization: Bearer ACCESS_TOKEN Response: { "id": "user_id", "email": "user@example.com", "name": "User Name", "kyc_verified": true, "wallet_addresses": [...] }
Step 5

Request Actions (Optional)

Based on granted permissions, your platform can request actions to be performed with the user's wallet or vault:

POST /api/oauth/actions/request { "action": "initiate_payment", "amount": "100", "currency": "ETH", "recipient": "0x...", "access_token": "user_access_token" }

Critical security: The user MUST first sign a QR code with their ChainGuard mobile app (mandatory 2FA) before any wallet operation is initiated. Platforms can NEVER invoke wallet payments directly. After 2FA, the wallet payload is sent for signature. Vault operations require 3FA (2FA + guardian attestation). All operations happen exclusively within ChainGuard's smart shielded environment - never directly in your dApp.

Step 6

Receive Transaction Proof

After the user authorizes the action in ChainGuard's secure environment, ChainGuard executes the transaction and provides proof:

Response: { "transaction_hash": "0x...", "block_number": 12345, "status": "confirmed", "proof": { "signature": "...", "timestamp": "...", "execution_id": "..." } }

Your backend can use this transaction proof to update your database or frontend, completing the action flow.

Security & Privacy

Built with security and privacy as core principles

Lock icon

OAuth 2.0 Standard

Industry-standard authorization code flow with PKCE support. Battle-tested security protocols.

Shield icon

CSRF Protection

State parameter validation prevents cross-site request forgery attacks. All redirects are validated.

Key icon

Secure Token Storage

Access tokens are short-lived. Refresh tokens are securely stored server-side. Never exposed to frontend.

Eye icon

Privacy-First

Users control what data is shared. Permission-based access with explicit consent. No data mining.

Database icon

Encrypted Data

All user data encrypted at rest and in transit. AES-256-GCM encryption for sensitive information.

CheckCircle icon

Audit Logging

Complete audit trail of all authentication events. Security monitoring and threat detection.

Use Cases

Perfect for any Web3 application that needs secure authentication

Globe icon

DeFi Platforms

Enable users to access DeFi protocols with unified identity. Request payments from user's vault or wallet - all operations happen in ChainGuard's secure environment. Receive transaction proof to update your platform.

Users icon

NFT Marketplaces

Seamless authentication for NFT trading platforms. Access user's wallet addresses and collection data with permission.

Zap icon

Web3 Games

Quick authentication for gaming platforms. Access player profiles and in-game wallet addresses. Multi-chain support.

Database icon

DAO Platforms

Secure authentication for governance platforms. Verify member identity and KYC status. Access voting history.

TrendingUp icon

Trading Platforms

Enterprise authentication for crypto exchanges. KYC verification integration. Activity history access.

Settings icon

Enterprise dApps

Corporate Web3 applications with compliance requirements. Multi-factor authentication. Audit logging.

Ready to Integrate ChainGuard OAuth?

Start building secure Web3 authentication for your dApp. Get started in minutes with our comprehensive documentation and developer tools.

ChainGuard OAuth - User-Controlled Web3 Authentication

How ChainGuard OAuth Works

ChainGuard OAuth enables seamless, secure authentication for Web3 applications using OAuth 2.0 authorization code flow. Users authenticate with their ChainGuard identity (email/password + mobile 2FA) and grant permission-based data access to dApps.

Integration Guide

Integrate ChainGuard OAuth in four simple steps: register your application, add authorization button, handle callback, and access user data. Standard OAuth 2.0 protocol works with any backend language.

Security Features

ChainGuard OAuth provides enterprise-grade security with multi-factor authentication, CSRF protection, secure token storage, privacy-first design, encrypted data, and complete audit logging.

Use Cases

Perfect for DeFi platforms, NFT marketplaces, Web3 games, DAO platforms, trading platforms, and enterprise dApps that need secure authentication with KYC verification and multi-chain support.

ChainGuard OAuth | User-Controlled Web3 Authentication | ChainGuard