Skip to content

A demonstration of Auth with Sapper + JWT + Server Side Rendering + RBAC

Notifications You must be signed in to change notification settings

antony/sapper-authentication-demo

Repository files navigation

Sapper Authentication Demo

A demonstration of Authentication with Sapper. This example is intentionally simple, but demonstrates a basic auth flow with JWT, secure cookies, and Sapper.

Includes:

  • JWT
  • Secure cookies
  • HTTP Only cookies

Installing

cd server
npm i
cd ..
npm i

Usage

npm run dev