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.