You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been investigating why my google SSO doesn't work on the production (NuxtHub) before I realize that I forgot to add env variables for this provider...
I know it sounds like a stupid mistake, but I've implemented onError handler within defineOAuthGoogleEventHandler which was not triggered and the path was not logged anyway and also there was just no log and the router was always redirected to /
So I've been checking if my route, under the /server/routes/auth/.., is correctly bundled for cloudflare output or not.
It would be nice to trigger onError in that case :)
Thanks :)
The text was updated successfully, but these errors were encountered:
kleinpetr
changed the title
handle onError when env variables is missing
handle onError when env variable is missing
Dec 9, 2024
Hi,
I've been investigating why my google SSO doesn't work on the production (NuxtHub) before I realize that I forgot to add env variables for this provider...
I know it sounds like a stupid mistake, but I've implemented
onError
handler withindefineOAuthGoogleEventHandler
which was not triggered and the path was not logged anyway and also there was just no log and the router was always redirected to/
So I've been checking if my route, under the
/server/routes/auth/..
, is correctly bundled for cloudflare output or not.It would be nice to trigger
onError
in that case :)Thanks :)
The text was updated successfully, but these errors were encountered: