Civic Auth API

Civic Auth provides OAuth 2.0 and PKCE-based authentication for web and mobile applications with support for email, Google, and Web3 wallet sign-in. Includes embedded wallet provisioning on Solana and EVM chains. The @civic/auth npm package integrates with Next.js, React, Express, and Hono. The @civic/auth-web3 variant adds Web3-specific authentication via Wagmi. The @civic/auth-mcp package enables MCP server and client authentication with legacy OAuth compatibility endpoints including /.well-known/oauth-authorization-server, /authorize, /token, and /register. Client IDs are configured via environment variables and tokens are obtained through the standard OAuth 2.0 authorization code with PKCE flow.

API entry from apis.yml

apis.yml Raw ↑
aid: civic:civic-auth-api
name: Civic Auth API
description: 'Civic Auth provides OAuth 2.0 and PKCE-based authentication for web and mobile applications
  with support for email, Google, and Web3 wallet sign-in. Includes embedded wallet provisioning on Solana
  and EVM chains. The @civic/auth npm package integrates with Next.js, React, Express, and Hono. The @civic/auth-web3
  variant adds Web3-specific authentication via Wagmi. The @civic/auth-mcp package enables MCP server
  and client authentication with legacy OAuth compatibility endpoints including /.well-known/oauth-authorization-server,
  /authorize, /token, and /register. Client IDs are configured via environment variables and tokens are
  obtained through the standard OAuth 2.0 authorization code with PKCE flow.

  '
humanURL: https://docs.civic.com/
baseURL: https://auth.civic.com
tags:
- Authentication
- Embedded Wallets
- MCP
- OAuth
- PKCE
- Solana
- Web3
properties:
- type: Documentation
  url: https://docs.civic.com/
- type: GettingStarted
  url: https://docs.civic.com/civic/quickstart
- type: Repository
  url: https://github.com/civicteam/civic-auth-examples
- type: SDK
  url: https://www.npmjs.com/package/@civic/auth
- type: SDK
  url: https://www.npmjs.com/package/@civic/auth-web3
- type: SDK
  url: https://www.npmjs.com/package/@civic/auth-mcp
- type: Repository
  url: https://github.com/civicteam/auth-mcp
- type: Repository
  url: https://github.com/civicteam/civic-auth-py