Hello, I would like to know how to make the mail verification and password reset part work with Flutter (for 6 OS). I have already made this code which sends me a link by email, but when I click on it, I get a 404 error.
I understood from your documentation and an example found on the Web for javascript that overall the link was supposed to return to the app with "userId" and "secret" parameters which then allow me once the user has entered their new mdp to send the modification to the REST api, but I cannot do it in flutter (and even less mobile, web and desktop accounting). Do you have an example to provide, or just the lines missing from my understanding of the problem?
PS: my url in the email sent is "https://cloud.appwrite.io", but I really don't think that's correct. I saw that I could put "locahost" because it is one of the urls referenced by my project, but as long as I do not understand exactly what my problem is, I left it PS: I did not copy and paste the code for you because it is the documentation provided executed by my UI, if you want it I can provide it without problem. PS: I have already made a UI page for password confirmation, all I need is the logic to make it work ^^
Sincerely, Disk_MTH
You need to implement deep linking so that the URL in the email (which shouldn't be Appwrite Cloud) will link into the app where you can extract the secret and userid.
[SOLVED] Password recovery confirmation
Recommended threads
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...