SvelteKit NextAuth to Auth0 stopped working #4591
Replies: 4 comments
-
Small update: I have deployed the exact same application to Netlify to rule out Auth0 being an issue and the authentication flow works fine on it. Based on this I would assume it is an issue with Vercel itself. I can build a small app and make it public if needed? |
Beta Was this translation helpful? Give feedback.
-
Looks like I have this problem too, using both Google and Github-providers the Vercel-ServerLogs show the same thing
For Google that error shows up as "[auth][error][SignInError]" on "[POST] /auth/signin/google", Any help appreciated..! |
Beta Was this translation helpful? Give feedback.
-
same here. I've delved into the issue and pinpointed that the error arises specifically during the execution of the |
Beta Was this translation helpful? Give feedback.
-
Replicating here:
|
Beta Was this translation helpful? Give feedback.
-
Summary
Hi,
I've been using NextAuth with auth0 for the past few weeks without any problems. However, today I noticed that the authentication flow is no longer working. I configured Auth0 to use Google as the social login.
I cannot replicate this locally.
Here's what I tried:
Based on the error, I would assume that the problem is on Auth0, e.g. an accidental breaking change. However, this should also affect my locally running app, but locally it works fine.
Has anything changed on Vercel's end or any idea how I could dig deeper?
Thanks!
Example
No response
Steps to Reproduce
Here's the snippet of how I set up the Authentication handler in my
hooks.server.js
:Here's what I get after clicking on Sign In:
![iScreen Shoter - Google Chrome - 231024160610](https://private-user-images.githubusercontent.com/23212901/277686248-4e56020f-c997-4d49-b0e3-1d5caf84813e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyODIxNDksIm5iZiI6MTcyMDI4MTg0OSwicGF0aCI6Ii8yMzIxMjkwMS8yNzc2ODYyNDgtNGU1NjAyMGYtYzk5Ny00ZDQ5LWIwZTMtMWQ1Y2FmODQ4MTNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDE2MDQwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBmZGMxNDI2MDdiYmE2ZmQ1YmQ4OWNkNWI5YTkxMmE0MjBkZDVmMGUwZTU2ZTk2NDE3NDc2YjQ5YjBlNDg4NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8cEMbjblasvlHEH51nhju_Ip5s-1QHoIY8KYmidcldo)
Here is the log:
Beta Was this translation helpful? Give feedback.
All reactions