Getting "GET http://localhost:3000/api/auth/me 400 Bad request" error in console. #7937
Unanswered
AmeerMuaviya
asked this question in
Help
Replies: 2 comments
-
Did anyone find a solution to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, This is years later, but hopefully the solution helps others. The problem for me, was that I was using Auth0 and switched to NextAuth. Inside the providers page, I had included the older provider too. For example:
Remove and the problem should be fixed. Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Getting
GET http://localhost:3000/api/auth/me 400 Bad request
error in console. I never called this endpoint in my entire application. My app and next-auth is working fine but this error is annoying meHow to reproduce ☕️
I implemented Next-auth in my application.
This is my
/api/auth/[...nextauth]/route.js
filei'm simply getting user like this
here is the screenshot of the problem
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions