Project demo demonstrating the setup of :
- Next.js with app router
- Auth0
- Redirection.io with Vercel middleware
- Clone the repository
- Create a
.envfile with the following variables :AUTH0_SECRETAUTH0_BASE_URLAUTH0_CLIENT_IDAUTH0_ISSUER_BASE_URLAUTH0_CLIENT_SECRETREDIRECTIONIO_TOKEN
- Run
yarn install - Run
yarn dev - Go to http://localhost:3000/
- Go to https://redirection.io/
- Create an account
- Create a new project
- Get the API key
- Set the API key in the
.envfile
- Go to https://auth0.com/
- Create an account
- Create a new application
- Get the Client ID, secret and domain
- Update the
.envaccordingly