Skip to content

An example respository showing how strands should implement authjs

Notifications You must be signed in to change notification settings

octue/strands-authjs

Repository files navigation

Next-AllAuth

This is an example project showing how to use allauth in headless mode with next.js.

WARNING This is a work in progress and remains totally unoptimised for SSR.

Getting Started

First, checkout and run the backend so you have a server at http://localhost:8000.

Next, add the following line to your .env.local file:

NEXT_PUBLIC_API_URL=http://localhost:8000

Then run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.