Skip to content

silencesoft/lightning-next-auth-example

 
 

Repository files navigation

The example repository is maintained from a monorepo. Pull Requests should be opened against nextauthjs/next-auth.


NextAuth.js Example App

Open Source. Full Stack. Own Your Data.

npm Bundle Size Downloads TypeScript

Sign-In with Lightning and NextAuth.js Example

This is an example application that shows how to integrate lightning login to next-auth.

Getting Started

Dependencies

Node.js Yarn Lightning wallet with login support (this project was tested with Alby)

git clone https://github.com/silencesoft/lightning-next-auth-example
cd lightning-next-auth-example
yarn

Configure your local environment

Copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):

cp .env.local.example .env.local

Update with your values.

Start the application

To run your site locally, use:

yarn dev

License

ISC

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.1%
  • CSS 11.9%