This repository has been archived on 2026-01-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
dependabot[bot] 100dfe0991 build(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the / directory: [axios](https://github.com/axios/axios) and [next](https://github.com/vercel/next.js).


Updates `axios` from 1.7.2 to 1.7.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.4)

Updates `next` from 14.2.4 to 14.2.15
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.4...v14.2.15)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: next
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-15 21:25:33 +00:00
2024-06-20 23:47:43 +02:00
2024-07-08 11:49:46 +02:00
2024-06-20 23:47:43 +02:00
2024-06-20 23:47:43 +02:00
2024-06-20 23:47:43 +02:00
2024-06-20 23:47:43 +02:00
2024-06-20 23:47:43 +02:00
2024-06-20 23:42:28 +02:00
2024-07-08 11:49:46 +02:00
2024-06-21 00:28:14 +02:00
2024-06-20 23:47:43 +02:00
2024-06-20 23:47:43 +02:00
2024-06-21 00:28:14 +02:00

Auth0 demo

Commands

Install dependencies

yarn

Run Postgres on Docker

docker-compose up

Run Prisma migrations

yarn prisma:migrate

Generate Prisma client

yarn prisma:generate

Reset Prisma database

yarn db:reset

Auth0 Webhook

Auth0 Flow to register new users

const axios = require('axios');

exports.onExecutePostUserRegistration = async (event) => {
  await axios.post(event.secrets.WEBHOOK_URL, { email: event.user.email }, {
    headers: {
      'Authorization': `Bearer ${event.secrets.AUTH0_API_SECRET_KEY}`,
      'Content-Type': 'application/json'
    }
  });
};

Add the following secrets to your Flow:

  • WEBHOOK_URL: The URL of your webhook.
  • AUTH0_API_SECRET_KEY: The Auth0 API secret key.
Description
A demo using Auth0 passwordless authentication with NextJS
Readme MIT 254 KiB
Languages
TypeScript 95.1%
CSS 2.8%
JavaScript 1.1%
Shell 1%