← Login SEP-10 PT EN ES

Stellar / SEP-10 (web authentication)

What happens in SEP-10, in plain language?

The Anchor sends a challenge → your wallet signs it (proves you control the account) → the Anchor returns a short-lived pass (JWT) → the site sends that pass only for actions that need to know which wallet is behind the request. Your secret key does not go to the server.

1

You open login

The app needs your Stellar account (G…) before allowing authenticated actions.

2

Anchor challenge

The backend asks the Anchor for a one-time, unsigned challenge.

3

Wallet signs

You confirm in Freighter. The key stays on your device; only the signature is checked.

4

JWT pass

The Anchor verifies the signature and issues a time-limited token tied to your account.

5

API use

The browser sends the pass on API calls (e.g. register). Close the tab → the pass is gone.