1.1.1 • Published 3 years ago

@rakered/nextjs-auth-ui v1.1.1

Weekly downloads
-
License
AGPL-3.0 OR COMME...
Repository
github
Last release
3 years ago

@rakered/nextjs-auth-ui

Next.js SDK for using user authentication persisted in MongoDB

social image

Usage

Create a Dynamic Page Route handler at /pages/auth/[...slug].js

import '@rakered/nextjs-auth-ui/style.css';
import { handleAuth } from '@rakered/nextjs-auth-ui';

export default handleAuth();

This will create the following urls:

/auth/signup
/auth/login
/auth/logout
/auth/forgot-password
/auth/enroll-account/{token}
/auth/reset-password/{token}
/auth/verify-email/{token}