auth v2

Initialize SIWE link.

Changed on

Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.

post/link-siwe/nonce

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/link-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 nonce to use in SIWE message

Changes