Replies: 4 comments 6 replies
-
Is there any idea about the problem? |
Beta Was this translation helpful? Give feedback.
-
This started recently happening for me as well randomly and now its basically unusable |
Beta Was this translation helpful? Give feedback.
-
I had this issue recently. I am glad this topic wasn't closed as another 2. I had problem when I included mailgun-js library. When I removed this from the imports it basically started to work again. It has occured on Google, Facebook and Discord. I am assuming some library is used in different versions which is causing an issue when trying to establish connection with 3rd party. Hope it will navigate to root of the problem. My stack was Facebook |
Beta Was this translation helpful? Give feedback.
-
I found the culprit. |
Beta Was this translation helpful? Give feedback.
-
Question 💬
Hi,
I am getting this error when I try to log in with google social provider.
TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of Object.
It works fine if I don't visit any other page except the home page (http://localhost:3000). But if I visit any other page after signing in except the home page, then I sign out on any page after that; when I try to sign in, it throws this error.
Here are my google login provider settings:
I also use NEXTAUTH_SECRET in the next auth configuration:
secret: process.env.NEXTAUTH_SECRET
When I debug the application, it throws this error in openid-client package that is in use for getting the issuer:
How to reproduce ☕️
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions