Initiate SIWE Login
POST/siwe/generate-challenge
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.
Request
- application/json
Body
required
walletAddress stringrequired
The address of the signing wallet or the smart contract that implements ERC-1271
chainId numberrequired
Chain ID (see https://chainlist.org/)
clientApplicationId stringrequired
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 urlrequired
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
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
Loading...