An open API service indexing awesome lists of open source software.

https://github.com/willin/nextjs-auth0-cloudflare

An Example site using next.js auth0, deployed on Cloudflare Pages.
https://github.com/willin/nextjs-auth0-cloudflare

Last synced: 12 months ago
JSON representation

An Example site using next.js auth0, deployed on Cloudflare Pages.

Awesome Lists containing this project

README

          

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`c3`](https://developers.cloudflare.com/pages/get-started/c3).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Cloudflare integration

Local Development, create a file called `.env.local`:

```
AUTH0_SECRET='use [openssl rand -hex 32] to generate a 32 bytes value'
AUTH0_BASE_URL='http://localhost:3000'
AUTH0_ISSUER_BASE_URL='https://xxxx.jp.auth0.com'
AUTH0_CLIENT_ID='xxxx'
AUTH0_CLIENT_SECRET='xxxx'
```