auth v2

Login with SIWE.

Changed on

Verify a signed SIWE message and authenticate the user

post/siwe/verify

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/siwe/verify
  • Auth: HTTP bearer and API key in header x-project-key

Request body

messagestring required

The SIWE message string that was signed

signaturestring required

The signature from the user's wallet

walletAddressstring required

Ethereum wallet address (must be 42 characters starting with 0x)

chainIdnumber

Blockchain network chain ID (must match the Chain ID in SIWE message, default: 1)

walletClientTypestring

Type of wallet client used (e.g., 'Phantom', 'MetaMask')

connectorTypestring

Type of connector used (e.g., 'injected', 'walletConnect')

Response

Authentication successful

tokenstring required

Session token

successboolean required

Always true on successful authentication

Changes