This is a Next.js 13 example that demonstrates integrating Reflow's Auth and Subscriptions with the help of the auth-next library.
To run the example, follow these steps
npm install
the dependencies in this folder- Edit the auth.ts file and enter your Reflow project ID and paste a secret 32 char string. One way to generate a random string on unix-like systems is with this command:
openssl rand -hex 16
- Start the development server with
npm run dev
- Open http://localhost:3000 with your browser to see the app running.