AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Magic Link signup not working

Open TheCarpetMerchant opened this issue 1 year ago • 11 comments

Bug Description

First of, in Gmail when clicking the link it opens appended to "https://www.google.com/url?q=".

But the main problem is that when actually accessing the given url and clicking on the popup to open with "appflowy-flutter", this is what happens : Screenshot (310)

The bottom bar pops up, stays there a few seconds, and nothing else happens.

How to Reproduce

  • Download the installer
  • Install under the default folder
  • Open and set a gmail address
  • Click continue
  • In the email, right-click the log in button and copy link
  • Open the link in a new tab
  • Click "Open" when asked to open the link with appflowy-flutter
  • Bug occurs.

Expected Behavior

Log in / Sign up with magic link works

Operating System

Windows 10.0.19045 Build 19045

AppFlowy Version(s)

0.6.7.2

Screenshots

No response

Additional Context

No response

TheCarpetMerchant avatar Aug 30 '24 18:08 TheCarpetMerchant

I can't even get the android or windows apps to send a magic link. The email never shows up. Also tried "Continue with Google" and this times out with this error message:

image

wkoehn avatar Aug 30 '24 20:08 wkoehn

same problem

Nocturnal-ru avatar Aug 30 '24 20:08 Nocturnal-ru

Just got introduced to this program 30 minutes ago but previous versions (0.6.7.1, 0.6.6) don't seem to work either on my Windows machine. Looks like back-end issues?

BA-24 avatar Aug 30 '24 22:08 BA-24

Same issue, also not getting any links emailed Latest flatpak on Linux

OctoShotG avatar Aug 31 '24 00:08 OctoShotG

The backend service was unavailable, which has been resolved. Does the issue still persist?

khorshuheng avatar Aug 31 '24 04:08 khorshuheng

Was able to login successfully

OctoShotG avatar Aug 31 '24 04:08 OctoShotG

How about @wkoehn @TheCarpetMerchant @Nocturnal-ru and @BA-24 , do any of you still experience this issue?

Xazin avatar Aug 31 '24 09:08 Xazin

Just signed in successfully on the Android app

BA-24 avatar Aug 31 '24 15:08 BA-24

I have the same issue on my system as well (flatpak version on Fedora 40). Android app works using the same method.

max-kazak avatar Sep 08 '24 20:09 max-kazak

@max-kazak , did you use Firefox?

annieappflowy avatar Oct 02 '24 06:10 annieappflowy

@annieappflowy, yes I usually use firefox. However, I've tried opening the magicling in chromium as well with the same results.

max-kazak avatar Oct 04 '24 01:10 max-kazak

Same issue for me...

I had to create the account on https://beta.appflowy.cloud first, then generate the Magic Links using the Android app, and then click on the magic link on my desktop.

The desktop app was unable to generate the links.

candideu avatar Nov 05 '24 02:11 candideu

Seriously. Just let us sign in with password.

oaklsb avatar Dec 06 '24 20:12 oaklsb

I get the server-side error, that my SMTP credentials do not work, but they do work with other apps: "component":"api", "error":"Error sending magic link email: 535 5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials ffacd0b85a97d-38621909754sm10076973f8f.80 - gsmtp", "level":"error", "method":"POST", "msg":"500: Error sending magic link", "path":"/magiclink", "referer":"appflowy-flutter://", "remote_addr":"172.18.0.7", Not sure, why Google and gSMTP is referenced here -- as an open source tool we should avoid these guys

ToS0 avatar Dec 08 '24 13:12 ToS0

I think adding the option to at least paste the link it sends you and extracting the token from that might be decent. Or just also writing the token in the email and letting you paste it in, like a lot of things do. Depending on the link handling always working will mean there's a lot more cases where signing-in might be broken.

beep-beep-beep-boop avatar Apr 07 '25 11:04 beep-beep-beep-boop

@beep-beep-beep-boop Yes, we are adding the support for OTP soon.

khorshuheng avatar Apr 07 '25 12:04 khorshuheng

We have supported two alternative ways to sign in:

  1. login with OTP
  2. paste the magic link directly in your browser (thanks, @beep-beep-beep-boop )

We will soon support login with password (thanks, @oaklsb )

annieappflowy avatar Apr 18 '25 04:04 annieappflowy