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
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...