Skip to main content
0 votes
1 answer
52 views

I’m using a Turborepo monorepo with a Next.js 15 App Router project (apps/web) and a shared packages/types package that contains my NextAuth module augmentation. However, TypeScript still gives this ...
total_idiot's user avatar
0 votes
1 answer
61 views

I am doing a project which will use Google Login in NextJs This is my setting in OAuth 2.0 and in amplify environment variables After I deployed the app and try to login It redirect me to http://...
EQ0920's user avatar
  • 124
0 votes
0 answers
56 views

I am trying to persist user data using PrismaAdapter with authjs. But getting following error. [auth][details]: {} [auth][error] SessionTokenError: Read more at https://errors.authjs.dev#...
himu73's user avatar
  • 75
0 votes
0 answers
113 views

We’re a small student-led open-source learning platform: "involutionhell" built by volunteers in our spare time. Our website uses NextAuth.js with a GitHub provider for authentication. ...
Loong Loong's user avatar
2 votes
0 answers
86 views

I'm using NextAuth with a custom backend in my Next.js app. When I refresh the page, two refresh requests are sent almost simultaneously. The first request correctly calls /auth/refresh and gets a new ...
milad's user avatar
  • 133
0 votes
0 answers
81 views

I am developing an app in nextJS using next-auth for authentication. So far I only have Google as provider. The app is hosted using firebase hosting. Running the app in localhost works fine, but when ...
martin's user avatar
  • 40
0 votes
0 answers
48 views

I have a Next.js frontend and NestJS backend. In the backend there is token generation with refresh token rotation logic, and I want to use the same tokens in the frontend with NextAuth setup. Here’s ...
Sudeep Lamichhane's user avatar
0 votes
1 answer
46 views

I have MongoDBAdapter as the adapter in my next-auth config, and I want to add a role to my user, so for that for that i made a next-auth.d.ts file, but it still shows me the error of type not ...
Striker's user avatar
  • 11
0 votes
0 answers
45 views

I have a Next.js v15.5 app directory frontend project with TypeScript and NextAuth v5 Beta. I have enabled the credentials provider from NextAuth, and everything works just fine locally, but in ...
Stoman's user avatar
  • 173
0 votes
0 answers
84 views

I used next-auth@beta in my Next project. I also used credential provider to perform authentication against my database where it stores all the users in a MySQL table. Some basic information such as ...
sc1013's user avatar
  • 1,146
0 votes
0 answers
30 views

I am trying to create an app using the T3 stack. I am following the instructions in the T3 documentation which start by telling us to use the command npm create t3-app@latest. After doing that, we get ...
questionsAsker's user avatar
0 votes
1 answer
128 views

I’m using next-auth with the JWT session strategy and running into a problem with cookie size when storing multiple API tokens. Here’s my JWT callback: async jwt({ token, user }) { if (user) { ...
Sanjay's user avatar
  • 1
0 votes
1 answer
152 views

My application uses Auth.js (NextAuth.js v5) to authenticate. In local, it works fine, but when deploying to Vercel problems arise with the "middleware function size". I tried to "...
Leocruz 's user avatar
0 votes
1 answer
118 views

I want to be able to authenticate users with Oauth and protect the API endpoints with Basic authentication. How can I achieve this? My currently configuration doesn't work, unless I remove the Basic ...
dascolagi's user avatar
  • 157
0 votes
0 answers
44 views

I'm working on creating a custom login and sign-up page using AWS Cognito with the SRP (Secure Remote Password) authentication flow. For handling the session, I’m using Auth.js (previously NextAuth), ...
Sundar Gopal Nag's user avatar

15 30 50 per page
1
2 3 4 5
146