SpruceID Sign-In with Ethereum (SIWE) API

Sign-In with Ethereum (SIWE) enables Ethereum accounts to authenticate with off-chain services by signing a standardized message format (EIP-4361). SpruceID's SIWE library provides client and server implementations in TypeScript for integrating Ethereum wallet-based authentication into web applications. The SIWE-OIDC component wraps SIWE in an OpenID Connect Identity Provider, enabling drop-in integration with OAuth 2.0 and OIDC flows. Supported wallets include MetaMask, Coinbase Wallet, and any WalletConnect-compatible wallet. ENS domain resolution is included for human-readable usernames.

API entry from apis.yml

apis.yml Raw ↑
name: SpruceID Sign-In with Ethereum (SIWE) API
description: Sign-In with Ethereum (SIWE) enables Ethereum accounts to authenticate with off-chain services
  by signing a standardized message format (EIP-4361). SpruceID's SIWE library provides client and server
  implementations in TypeScript for integrating Ethereum wallet-based authentication into web applications.
  The SIWE-OIDC component wraps SIWE in an OpenID Connect Identity Provider, enabling drop-in integration
  with OAuth 2.0 and OIDC flows. Supported wallets include MetaMask, Coinbase Wallet, and any WalletConnect-compatible
  wallet. ENS domain resolution is included for human-readable usernames.
image: https://spruceid.com/favicon.ico
humanURL: https://eips.ethereum.org/EIPS/eip-4361
baseURL: https://oidc.spruceid.com
tags:
- Authentication
- Sign-In with Ethereum
- SIWE
- OpenID Connect
- Ethereum
- Blockchain Identity
properties:
- type: Documentation
  url: https://spruceid.dev/docs/
- type: GitHubRepository
  url: https://github.com/spruceid/siwe
- type: GitHubRepository
  url: https://github.com/spruceid/siwe-oidc
- type: NPMPackage
  url: https://www.npmjs.com/package/siwe
contact:
- FN: SpruceID Developer Support
  email: [email protected]
  X-github: https://github.com/spruceid
meta:
- key: EIP
  value: EIP-4361
- key: OIDCDiscovery
  value: /.well-known/openid-configuration