Integrations
Sign in with Ethereum (SIWE) can be integrated with various platforms and frameworks to provide seamless authentication experiences. This section covers popular integration options.
Available Integrations
Discussion Platforms
- Discourse: Add SIWE authentication to your Discourse community forums
Authentication Libraries
- NextAuth.js: Integrate SIWE with NextAuth.js for Next.js applications
- Auth0: Use SIWE with Auth0's enterprise authentication platform
Integration Benefits
- Decentralized Authentication: Users authenticate with their Ethereum wallets
- No Passwords: Eliminates the need for traditional password-based authentication
- ENS Support: Automatic username resolution from ENS names
- Cross-Platform: Works across web, mobile, and desktop applications
Common Integration Patterns
Frontend Integration
Most integrations follow a similar pattern:
- Connect to user's wallet
- Create SIWE message
- Request signature from user
- Send signed message to backend for verification
- Establish authenticated session
Backend Verification
Backend integrations typically:
- Receive signed SIWE message
- Verify signature cryptographically
- Validate message parameters (domain, nonce, expiration)
- Create user session or JWT token
Getting Started
Choose the integration that best fits your technology stack:
- For Next.js applications, start with NextAuth.js
- For community platforms, see Discourse
- For enterprise applications, explore Auth0
Custom Integrations
If you don't see your platform listed, you can build custom integrations using the SIWE libraries:
Community Contributions
The SIWE ecosystem welcomes community contributions. If you've built an integration for a platform not listed here, consider sharing it with the community.