Skip to content

Quickstart Guide

This guide shows you how to implement Sign-In with Substrate (SIWS) in a full stack Next.JS application. The goal of this guide is to:

  • Let users connect their wallet
  • Allow selecting a connected wallet to sign in with
  • Initiate a sign in request with the backend
  • Validate the sign in request from the backend
  • Issue a JWT that allows users to authenticate themselves and use the protected API

To follow along, you need a Substrate Extension Wallet. We recommend Talisman Wallet.

The repository for this tutorial can be found here.