WaspW
Wasp13mo ago
internetdj

Google Auth 404 in production / fly

Hi @kapa.ai

I have my new opensaas/wasp site deployed on fly. After figuring out how to solve the CORS issues, I'm left with one problem. This is working in development, but in production when I select Google as my authentication option, I'm redirected to 404 https://<mysite>/auth/google/login

Incidentally, I noticed that on fly, my site-server machines are restarting and then getting suspended. Looking at those logs I see:

webpack://mailgun/lib/Classes/MailgunClient.ts:67
[info] throw new Error('Parameter "key" is required');
mia [info] ^
mia [info] Error: Parameter "key" is required

I do have my mailgun parameter set in .env-server
MAILGUN_API_KEY=e08

Any clues?
Was this page helpful?