SBO Wallet

This domain hosts the SBO authentication wallet for web applications.

For Developers

Add SBO authentication to your web app:

<script src="https://wallet.sandmill.org/sbo.js"></script>
<script>
  async function login() {
    try {
      const { assertion, session } = await navigator.sbo.request();
      // Use the JWTs to authenticate with your backend
      console.log('Authenticated!', assertion);
    } catch (e) {
      console.error('Auth failed:', e.message);
    }
  }
</script>

Requirements

Users need the SBO daemon running locally:

sbo daemon start

When your app calls navigator.sbo.request(), the user approves via CLI:

sbo auth approve <request-id>