Back

[Solved] Deeplink with Email verification 2

  • 0
  • Flutter
  • Accounts
gidrokolbaska
16 Feb, 2023, 18:07

How would user receive an email if the code which sends the email is embedded in the app?...

TL;DR
Summary: The thread discusses an issue with deeplinks and email verification. The update mentions some success in fixing the problem for magic login and password recovery, with more tests needed. The user asks if they need to connect their database with a custom domain, and it is recommended to use a https url scheme for the links. The user asks about using deeplinks or applinks for password recovery, and it is suggested to refer to Flutter's docs on deep linking. A user suggests creating YouTube videos on these matters. The user mentions not being able to opt for phone authentication due to expensive third parties. They have multiple apps that can't
Drake
16 Feb, 2023, 18:26

I think it's for the case where the user opens the email on a different device.

gidrokolbaska
16 Feb, 2023, 18:33

that case is so rare that basically makes no sense 😄

Tanner Meade
16 Feb, 2023, 19:26

That's good you don't have to worry about that case. Several of the systems I've had to implement this for did have to be concerned about it.

Tanner Meade
16 Feb, 2023, 19:26

And yes, it has to do with when a user has multiple devices.

safwan
21 Mar, 2023, 15:13

just to be sure:

If i'm hosting appwrite on a server, I need to point to that url instead of localhost. And this, static html file needs to be hosted in that server. Correct? Also, will I need to add a WEB platform to my appwrite dashboard?

Drake
21 Mar, 2023, 16:20

the assetlinks.json? That's supposed to be hosted at the domain for your client app

safwan
21 Mar, 2023, 16:38

I was asking about the html file that redirects users back to the app

Drake
21 Mar, 2023, 18:46

the auth.html file is supposed to be hosted with your flutter web app

safwan
22 Mar, 2023, 02:32

ah okay Thanks!

frankenstein
8 Apr, 2023, 22:57

This is a serious problem with appwrite. Smtp and deeplinks/universal links are a headache.

frankenstein
8 Apr, 2023, 22:58

I have 5 apps that I can't release because forgot password function isn't working.

frankenstein
8 Apr, 2023, 23:00

I can't opt for phone authentication because the accepted 3rd parties are expensive in my country

frankenstein
8 Apr, 2023, 23:02

I think the dev team should create YouTube videos on serious matters like these

gopal
9 Apr, 2023, 06:11

i agree

Eldad
9 Apr, 2023, 06:11

@frankenstein we're working with the core team to simplify the process from the SDK as we speak. Hopefully we could share more on that very soon.

frankenstein
9 Apr, 2023, 13:20

thanks in advance. but if there is anything like a demo app please share

frankenstein
9 Apr, 2023, 13:21

like this forgot password thing is letting me down.

frankenstein
9 Apr, 2023, 13:30

Or anyone with a complete project can be an ambassador and help us with these problems

Drake
9 Apr, 2023, 15:14

Flutter's docs on deep linking are pretty good https://docs.flutter.dev/development/ui/navigation/deep-linking

frankenstein
9 Apr, 2023, 15:16

i read about these links. there are deep links which dont require https and the json and applinks which require these

frankenstein
9 Apr, 2023, 15:16

in password recovery which one can be used? deeplink or applinks?

Drake
9 Apr, 2023, 15:19

Either. It's up to you. One thing, though, is if a user is going to be opening the link, I would recommend using a link with a https url scheme because sometimes email clients don't render links with a custom url scheme.

frankenstein
9 Apr, 2023, 15:22

so it means i have to connect my database with a custom domain?

Eldad
11 Apr, 2023, 16:35

Update: @dlohani had some success fixing this issue for magic login and password recovery. We still need to do more tests and make sure we apply changes to our native iOS and Android SDK, but things seem positive right now.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more