auth0 v2 uses pages router not app router. building correctly now
This commit is contained in:
parent
39c8eef888
commit
e7ff02f1b8
6 changed files with 1519 additions and 1182 deletions
4
src/app/api/auth/[...auth].ts
Normal file
4
src/app/api/auth/[...auth].ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// pages/api/auth/[...auth0].ts
|
||||
import { handleAuth } from '@auth0/nextjs-auth0';
|
||||
|
||||
export default handleAuth();
|
||||
Loading…
Add table
Add a link
Reference in a new issue