@happykit/auth
v1.0.0-alpha.0
Published
### Installation
Downloads
2
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 addressusername
(coming soon): Users authenticate with a unique usernamemagiclink
(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.