Back

Extracting Secret Code from Email for Verification and Password Recovery in Flutter App with appwri

  • 0
  • Flutter
Ibukunoluwa
14 Aug, 2023, 16:54

I'm currently working on a Flutter app where users need to verify their email addresses and recover their passwords through email. I've set up the email sending and verification part successfully, but I'm facing a challenge in extracting the secret code from the verification and password recovery emails.

The verification and password recovery emails contain a secret code that users need to enter in the app to complete the process. I'm struggling to figure out how to automatically extract this secret code when the user opens the email while using the Flutter app.

I would greatly appreciate it if anyone could guide me on how to achieve this. Specifically, I'm looking for insights on:

How to detect when a user opens an email containing the secret code in the Flutter app. Extracting the secret code from the email content. Passing the extracted secret code to the relevant parts of the app for verification or password reset. Any code snippets, package recommendations, or step-by-step guidance would be incredibly helpful. Thank you in advance for your expertise and assistance. If you need more context or code samples, please let me know.

TL;DR
The user is working on a Flutter app for email verification and password recovery. They have successfully set up the email sending and verification process, but are struggling to extract the secret code from the verification and password recovery emails. They are seeking guidance on how to detect when a user opens an email, extract the secret code from the email content, and pass it to the relevant parts of the app. A helpful link is provided: <https://docs.flutter.dev/ui/navigation/deep-linking>
Drake
14 Aug, 2023, 17:42

The idea is they will click on the link and be taken to a page or something where you can extract the data from the URL.

This might be helpful: https://docs.flutter.dev/ui/navigation/deep-linking

Ibukunoluwa
14 Aug, 2023, 18:00

thanks i will try that out

Ibukunoluwa
14 Aug, 2023, 18:03

but I really need guidance on this, if I can see someone who has done this before that can take me through it

Ibukunoluwa
14 Aug, 2023, 18:04

because i want to deploy the project to live production

Ibukunoluwa
16 Aug, 2023, 13:15

am unable to get secret and userid from the link please is there any other way?

Drake
16 Aug, 2023, 15:53

why not?

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