auth v1

Initialize SIWE.

Changed on

Create a challenge to link external wallet to the player.

post/iam/v1/siwe/init

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/iam/v1/siwe/init
  • Auth: HTTP bearer

Headers

x-gamestring

The publishable key of the game project.

Request body

addressstring required

The address of the user.

Example request

{
  "address": "0x8C5cedA46A26214A52A9D7BF036Ad2F6255BdBEa"
}

Response

Ok

addressstring required

The address of the player.

noncestring required
expiresAtnumber double required

Example response

{
  "address": "0x8C5cedA46A26214A52A9D7BF036Ad2F6255BdBE"
}

Changes