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

Auth doesn't seem to be working properly in cloud #8539

Open
GuyShane opened this issue Apr 1, 2025 · 0 comments
Open

Auth doesn't seem to be working properly in cloud #8539

GuyShane opened this issue Apr 1, 2025 · 0 comments

Comments

@GuyShane
Copy link

GuyShane commented Apr 1, 2025

  • EdgeDB Version: 6.4+34508d3
  • EdgeDB CLI Version: Gel CLI 7.1.1+45ade47
  • OS Version: Ubuntu 24.04.2

I'm having some trouble getting auth working in my cloud instance, even though everything is working as expected in dev. I've tried using the builtin auth as well as setting up my own UI and they give the same results. Here are some of the issues I'm having:

  • Attempting to sign up using a magic link to a new email gives a 500 error
{
  error: {
    message: '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)',
    type: 'InternalServerError'
  }
}

Although it does seem to create an EmailFactor in the database

  • No emails are sent. I've tried with my SMTP provider and with the cloud SMTP and neither one have ever sent an email. I've checked my SMTP setup and it is working properly
  • OAuth gives an error every once in a while. If I haven't used the site in some time, OAuth will throw a 500 error at first, and then if I try again it will work
{
  error: {
    message: 'Expecting value: line 1 column 1 (char 0)',
    type: 'InternalServerError'
  }
}
  • I got the following error when trying to sign in using a magic link
{"error": {"message": "cannot access local variable 'email' where it is not associated with a value", "type": "InternalServerError"}}

Basically, magic link auth and SMTP don't seem to be working at all for me, and OAuth sometimes fails. And these errors seem to be happening in the Gel Cloud side. They never reach my app and there's nothing I can do to mitigate / handle them.

Any help would be greatly appreciated!

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

No branches or pull requests

1 participant