How would user receive an email if the code which sends the email is embedded in the app?...
I think it's for the case where the user opens the email on a different device.
that case is so rare that basically makes no sense 😄
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.
And yes, it has to do with when a user has multiple devices.
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?
the assetlinks.json? That's supposed to be hosted at the domain for your client app
I was asking about the html file that redirects users back to the app
the auth.html file is supposed to be hosted with your flutter web app
ah okay Thanks!
This is a serious problem with appwrite. Smtp and deeplinks/universal links are a headache.
I have 5 apps that I can't release because forgot password function isn't working.
I can't opt for phone authentication because the accepted 3rd parties are expensive in my country
I think the dev team should create YouTube videos on serious matters like these
i agree
@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.
thanks in advance. but if there is anything like a demo app please share
like this forgot password thing is letting me down.
Or anyone with a complete project can be an ambassador and help us with these problems
Flutter's docs on deep linking are pretty good https://docs.flutter.dev/development/ui/navigation/deep-linking
i read about these links. there are deep links which dont require https and the json and applinks which require these
in password recovery which one can be used? deeplink or applinks?
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.
so it means i have to connect my database with a custom domain?
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.
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- Current User is Not authorized
recreating same Thread