This is a demo app showing Lightning Auth with Next.js + next-auth
.
This project is a work in progress. What it is: A proof of concept. What it is not: A thoroughly tested production ready auth setup.
Use with caution.
- add
csrfToken
to API requests - tidy and optimise code
- add comments
- add readme explaining:
- core concepts
- how it works
- how to setup dev env
- how to deploy
This app is deployed on Vercel and can be tested here: https://lnurl-next-auth-demo.vercel.app/
Here's a video demo of the auth in action: