dub icon indicating copy to clipboard operation
dub copied to clipboard

Magic Link not working

Open PatelN123 opened this issue 3 years ago • 3 comments

Hi,

When I receive the magic link on my own self hosted version, it just redirects me back to the login screen. Please help, thank you.

@steven-tey

PatelN123 avatar Nov 21 '22 18:11 PatelN123

same i am getting the same error with my code.

theabhayprajapati avatar Nov 27 '22 05:11 theabhayprajapati

Hey! There are probably a bunch of env vars that you need to set up to use this – I'm planning to write up instructions on how to replace email magic link auth with a simpler email/password auth since that will require one less config step (no need to set up an SMTP server). Stay tuned!

In the meantime you can refer to how I'm doing email/password auth in this simple example and try to incorporate that instead of magic link auth.

steven-tey avatar Dec 02 '22 23:12 steven-tey

Thanks for that. I do have an SMTP server, would you be able to list he env vars and what they should be?

PatelN123 avatar Dec 14 '22 15:12 PatelN123

Closing this issue for now since we added Google OAuth and are deprecating email sign in moving forward!

steven-tey avatar May 28 '23 17:05 steven-tey