End-to-end authentication flow with SIWE and JWT
Get SIWE Message
Sign Message
Verify Signature
Use JWT
.env
file with your credentials:
Error | Description | Solution |
---|---|---|
INVALID_WALLET | Wallet address format is invalid | Ensure wallet address is a valid Ethereum address |
INVALID_RISE_ID | RiseID format is invalid | Check RiseID format and ensure it exists |
SIGNATURE_MISMATCH | Signature verification failed | Ensure correct wallet is signing the message |
EXPIRED_NONCE | Nonce has expired | Request a fresh SIWE message |
JWT_EXPIRED | JWT token has expired | Re-authenticate to get a new JWT |