alexaka1 / mhu-nextjs-sport

https://mhu-nextjs-sport.vercel.app
0 stars 1 forks source link

User cannot register from PWA app #39

Open alexaka1 opened 2 months ago

alexaka1 commented 2 months ago

When a user tries to register via PWA app on android, it doesn't work because of invalid callback URL. But the callback url seems correct... response" body "access_token" property must be a non-empty string

[31m[auth][error] CallbackRouteError: Read more at https://errors.authjs.dev#callbackrouteerror

alexaka1 commented 2 months ago

This seems to only happen if the user registers for the first time from the installed PWA app, or installed the app and the callback url is intercepted by the PWA.

There is no issue in a purely browser workflow.

alexaka1 commented 2 months ago

Actually it seems to be a prod error. Maybe it's because of the Edge runtime issues with drizzle and Authjs.

alexaka1 commented 2 months ago

Seems to be fixed by 2cd1e18d7d13ae998542359fe618d69160d34562

alexaka1 commented 2 months ago

Maybe 3b119e9340594935087306f90ad661cedc898399?