feat: implement basic oauth authentication
This commit is contained in:
parent
9cfc799a9b
commit
d86c86e137
8 changed files with 120 additions and 0 deletions
2
src/app/api/auth/[...nextauth]/route.ts
Normal file
2
src/app/api/auth/[...nextauth]/route.ts
Normal file
|
@ -0,0 +1,2 @@
|
|||
import { handlers } from '@/auth'; // Referring to the auth.ts we just created
|
||||
export const { GET, POST } = handlers;
|
Loading…
Add table
Add a link
Reference in a new issue