Verification codes don't work anymore
-
If I try to login to my Rallly install at https://schedule.uniteddiversity.coop it asks for my email and then send me an email with a 6 digit pin.
But the pin never works. You just get
Your verification code is incorrect or has expired
. Whereas the magic login link in contained within the same email does work.Verifications codes used to work. Something is not right.
Couldn't see anything in the logs, but am seeing this:
Nov 07 10:59:05Failed to update prerender cache for /en/poll/KX1EhUpLBwUl [Error: ENOENT: no such file or directory, mkdir '/app/code/apps/web/.next/server/pages/en/poll'] { Nov 07 10:59:05Failed to update prerender cache for /en/poll/nVdj8r0nrGJY [Error: ENOENT: no such file or directory, mkdir '/app/code/apps/web/.next/server/pages/en/poll'] { Nov 07 10:59:05code: 'ENOENT', Nov 07 10:59:05code: 'ENOENT', Nov 07 10:59:05errno: -2, Nov 07 10:59:05errno: -2, Nov 07 10:59:05path: '/app/code/apps/web/.next/server/pages/en/poll' Nov 07 10:59:05path: '/app/code/apps/web/.next/server/pages/en/poll' Nov 07 10:59:05syscall: 'mkdir', Nov 07 10:59:05syscall: 'mkdir', Nov 07 10:59:05} Nov 07 10:59:05}
-
I just tested a fresh install and the exact same thing happens.
The very first verification code you get when first creating an works. But after that, they don't work.
-
-
Found the issue here. It's trying to send a request to the wrong URL -
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3000/api/auth/callback/email?email=test%40cloudron.io&token=xx. (Reason: CORS request did not succeed). Status code: (null).
is logged in the browser. -