Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle onError when env variable is missing #301

Closed
kleinpetr opened this issue Dec 9, 2024 · 0 comments · Fixed by #306
Closed

handle onError when env variable is missing #301

kleinpetr opened this issue Dec 9, 2024 · 0 comments · Fixed by #306

Comments

@kleinpetr
Copy link

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 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 :)

@kleinpetr kleinpetr changed the title handle onError when env variables is missing handle onError when env variable is missing Dec 9, 2024
atinux added a commit that referenced this issue Dec 13, 2024
atinux added a commit that referenced this issue Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant