Search code examples
firebasenext.jsvercelnext-auth

Next auth using firebase not working after deploying to vercel


This is the logsenter image description here I have built an amazon clone and when i deployed it to vercel the signin with google is not working, and i got this error: Server error There is a problem with the server configuration.

Check the server logs for more information.

i have added my environement variables


Solution

  • I have resolved this issue , if added uri on the cridentials of my project on google cloud platform and i added also a NEXTAUTH_SERET and redeployed the build THank you everyone