Skip to main content

Get a challenge

GET /auth
string
required
The Stellar G... account to authenticate.
string
A base64 XDR challenge transaction for the account to sign.
string
The network the challenge is for.

Exchange the signed challenge

POST /auth
string
required
The challenge, signed by the account, as base64 XDR.
string
A JWT whose subject is the account. Send it as Authorization: Bearer <token>.

Stellar discovery

GET /.well-known/stellar.toml publishes the web authentication endpoint and the server’s signing key, as SEP-1 describes.