Skip to main content
POST
Verify SIWS signature and get JWT

Body

application/json
wallet
string
required

Solana wallet address (base58-encoded, 32 bytes)

Example:

"GmQozSzrtMjXt5F1Bed8Vrt55zCbiga8vDZr47RX9wC8"

signature
string
required

Base58-encoded ed25519 signature of the SIWS message

Example:

"3xJ9..."

message
string
required

Canonical SIWS message. Must match the format: Sign in to Joyride\n\nWallet: {wallet}\nNonce: {nonce}

Example:

"Sign in to Joyride\n\nWallet: GmQozSzrtMjXt5F1Bed8Vrt55zCbiga8vDZr47RX9wC8\nNonce: a1b2c3d4e5f67890a1b2c3d4e5f67890"

Response

Authentication successful

token
string
required

JWT session token (HS256, 24h expiry). Use as Authorization: Bearer <token> on subsequent requests.

Example:

"eyJhbGciOiJIUzI1NiJ9..."