Generate SIWE Challenge for Login
Generating the SIWE challenge is the first step in the process of getting the authentication token.
For detailed information on scopes, see the Authentication Guide.
- application/json
Request Body required
- walletAddress string required
The address of the signing wallet or the smart contract that implements ERC-1271
- chainId number required
Chain ID (see https://chainlist.org/)
- clientApplicationId string required
ID of the client application created in an Immersve partner profile
- scopes string[] required
Possible values: [
cardholder-partner
]An array of authorization scopes requested by the client application
- url url required
Domain in the "<domain> wants you to sign in.." of the EIP-4361 is derived from the host fragment of this parameter. The client application identified by clientApplicationId must allow this URL.
Responses
- 200
- 400
Challenge to be signed in EIP-4361 format. (Quick start signing)
- text/plain
- Schema
- Example
Schema
- any
app.immersve.com wants you to sign in with your Ethereum account:
0xA3058369d6A481B1ff08F62B352409c3D709De9b
Immersve wants to access your Immersve account. Immersve will be able to: Have full access to all your Immersve resources. By connecting your wallet and using Immersve, you agree to our Terms of services and Privacy Policy
URI: https://app.immersve.com
Version: 1
Chain ID: 1
Nonce: 2hFm7TDbZmerUgnrJ
Issued At: 2022-08-11T22:29:48.244Z
Request fields are invalid
- application/json
- Schema
- Example (from schema)
Schema
- statusCode integer required
- statusName string required
- errorCode string required
- errors string[]
{
"statusCode": 400,
"statusName": "Bad Request",
"errorCode": "BAD_REQUEST",
"errors": [
"Expected string, received number"
]
}
Loading...