Auth - Wallet
Generate Wallet Nonce
Changed onGenerate a nonce for wallet signature verification.
The frontend should:
- Call this endpoint with the wallet address to get a nonce and message template
- Construct the message by filling in the template with wallet_address, nonce, and timestamp
- Request the user to sign the message with their Web3 wallet
- Submit the signature to POST /wallet/link
Nonces expire after 5 minutes and can only be used once.
post/api/v1/auth/wallet/nonce/{wallet_address}
Request
- The document declares no server URL.
- Auth
- OAuth 2Authorization codehttps://auth.mor.org/oauth2/authorizeToken URLhttps://auth.mor.org/oauth2/tokenScopesaws.cognito.signin.user.admin, openid, email, profile
- or HTTP bearer
Path parameters
wallet_addressstring required
Ethereum wallet address to generate nonce for (0x prefixed, 40 hex characters)
Response
Successful Response
Changes
- info
endpoint added
- info