Login with signed message

Authenticate with a Web3 wallet. Submit the wallet-signed login message together with your session ID to receive a JWT access token, refresh token, and user…

POSThttps://mgapi.forkast.gg/api/v1/auth

Authenticate with a Web3 wallet. Submit the wallet-signed login message together with your session ID to receive a JWT access token, refresh token, and user record. Pass the token as Authorization: Bearer <token> on all authenticated endpoints.

Loading code example
Loading code example

Body

addressstringrequired

Wallet address

signaturestringrequired

Signed message from wallet

messagestringrequired

Must be 'Welcome to Forkast!'

Response

application/json

Login successful

accessTokenstringrequired
walletSaltstringrequired
refreshTokenstringrequired
proxyWalletstringrequired