How to pass custom data into Email Provider Next Auth
I am using Next Auth v5. I want to pass in the user’s timezone on login so that I can have the timezone in SSR pages that are timezone sensitive. I can’t figure out how to pass custom data into NextAuth.
Route conflict with next-auth 4 and the actual API
I already have a public REST API (PHP/Nginx) which is live and already being consumed, lets call it https://example.com/api/..
.
Authorized file not reading the session user added attributes only the default ones NEXTJS / NEXTAUTH
i changed the default session of the session interface given by authjs (nextauth) however its being read all over the project but one file wish containes the authorized method
How to change the maxAge in NextAuth session and set it dynamically, based on a value that BE gives me?
I want to set maxAge to the value that BE gives me. BE gives me back: “expires”: “2024-07-23T22:12:36.505Z” and I want that NextAuth session to be equal to this value for example. How to achieve that?
I can not return userRole in next-auth
I have a problem. This is my options file it is located in app/api/auth/[…nextauth]
NextJS with NextAuth.js custom API methods
I am making panel with NextAuth, and I wonder how can I use it in API routes?
NextJS with NextAuth.js custom API methods
I am making panel with NextAuth, and I wonder how can I use it in API routes?
Next-auth configuration redirection issue
I am using next-auth in nextjs for my authentication. After authentication with google provider, I am getting only a refresh and I need to manually enter the address I was navigated from to access it after authentication. What am I doing wrong?
Next Auth EmailProvider token type
I have a NextJS project and NextAuth EmailProvider implementaion,
Next.js Provider and Session undefined error
Whenever i complie it gives me 500 error and treid to debug and i see session and provider is undefined anyway to fix it?