auth v2

Initialize SIWE login.

Changed on

Generate a nonce for Sign-In With Ethereum (SIWE) authentication

post/siwe/nonce

Request

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

Request body

walletAddressstring required

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

chainIdnumber

Blockchain network chain ID (default: 1 for Ethereum mainnet)

Response

Nonce generated successfully

noncestring required

Cryptographically secure random nonce to be used in SIWE message

Changes