Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

This is and example site to demostrate how to use NextAuth.js with a separated backend from next js using the Custom Adapter Aproach.

License

Notifications You must be signed in to change notification settings

NanddoSalas/next-auth-custom-backend-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Auth Custom Backend Example

This is and example site to demostrate how to use NextAuth.js with a separated backend from next js using the Custom Adapter Aproach.

Try Demo

Prerequisites

Installation

1. Get the code into your local machine and install all dependencies

git clone https://github.com/NanddoSalas/next-auth-custom-backend-example.git
cd next-auth-custom-backend-example
yarn install

2. Setup Enviroment

Copy the .env.local.example file into .env.local and populate it

cp .env.local.example .env.local

Copy the .env.local to the web and server packages

cp .env.local packages/web/.env.local
cp .env.local packages/server/.env.local

3. Start the Project

yarn dev

License

MIT

About

This is and example site to demostrate how to use NextAuth.js with a separated backend from next js using the Custom Adapter Aproach.

Topics

Resources

License

Stars

Watchers

Forks

Languages