The Immersve SIWE User Session login method allows EVM wallet addresses to authenticate with Immersve APIs. See Authentication for more details about how to authenticate with Immersve APIs.
SIWE Login Message Format
The Initiate Login endpoint produces a message that needs to be signed by the user's wallet. The message format for the siwe
login method is a Sign-In With Ethereum EIP-4361 message.
Access and refresh tokens are obtained by submitting the message signature to the Complete Login endpoint.
Example Login Script
The following script demonstrates how to authenticate with the Immersve siwe
login method using the Node.js Ethers SDK and Axios HTTP client.