@happykit/auth

### Installation

Usage no npm install needed!

<script type="module">
  import happykitAuth from 'https://cdn.skypack.dev/@happykit/auth';
</script>

README

@happykit/auth lets you add authentication to your Next.js apps.

Quickstart

Installation

yarn add @happykit/auth

Setup

The further setup depends on the strategy you want to use. There is a short tutorial for every strategy:

  • email: Users authenticate with a validated email address
  • username (coming soon): Users authenticate with a unique username
  • magiclink (coming soon): Users authenticate using a Magic Link sent to their email address

Switching a strategy once your application is in production is hard as you might not have collected the necessary information from your users. Decide if you want them to authenticate using email, username or magic links and stick with it. If you're just playing around, I'd recommend the email strategy.