Authentication does not work in production

I deployed my next.js project to vercel and for some reason authentication is not working at all.

  1. Google O auth let's me sign in, but does nothing after I sign in, where it should be redirecting me to another page.
  2. When using email OTP login, I get this error: Header 'apikey' has invalid value:
Everything works in development, but nothing works in production, is there any additional setup required?

Please, I need the help
IMG_0107.jpeg
Was this page helpful?