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
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...