Questions tagged [nextauth.js]
3 questions
1
vote
1 answer
Integrating Laravel Breeze API with NextAuth.js in Next.js v13.4 using AppRouter
I'm seeking guidance on integrating my Laravel Breeze API with my Next.js frontend. While there are examples available for integrating Laravel Breeze API with Next.js using the Page Router for client-side rendering (CSR) and SWR for server-side…

karmendra
- 2,206
- 8
- 31
- 49
0
votes
0 answers
Drop down Menu, in Next-Auth's CredentialsProvider()
I'm implementing the "CredentialsProvider" from Next-Auth, so far I've see examples where I can only add text fields in it like 'usernames' and 'passwords'.
Is it possible to add a 'Menu list' kind of thing? Which will basically give us some options…

Syed Khureshi
- 11
- 1
0
votes
0 answers
NextAuth asks for login when I'm already logged in and doesn't redirect me
I'm using Next13 with AuthJS, I've used Next with AuthJS for a long time but now I get unexpected behaviours.
I'm using the middleware.ts in the /src directory like this:
export { default } from "next-auth/middleware";
export const config = {…