Query parameters not being passed back in Dynamic Link Data when using sendPasswordResetEmail function #9025
Unanswered
AdamMoroff75
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I was hoping somone could help me with an issue Im facing using Firebase Dynamic Links. Im raising this as a question first, rather than an issue because Im hoping its just me missing something rather than an actual bug.
What am I trying to do?
I am trying to use Dynamic Links to allow a user to reset their password by clicking a Dynamic Link from an email which is sent to the user using the
FirebaseAuth.instance.sendPasswordResetEmail
function. Refer https://firebase.google.com/docs/auth/flutter/manage-users#send_a_password_reset_emailWhats the problem?
When the
sendPasswordResetEmail
is executed it generates a number of addtional query parameters such asmethod, oobCode, continueUrl
amongst others. When the email is sent to the user it contains the dynalic link domain, android package name and the query parameters that are generated by the sendPasswordResetEmail, so far, so good. See below.The problem is when the user clicks the link, the only data that is passed to the app is the deeplink and the API key, the other query parameters are missing or not passed in (ie, the oobCode, method and continueURL are not passed in.. See below. This is preventing me from actually redirecting the user to the password reset page in my mobile app.
What are the steps to recreate the problem?
ActionCodeSettings
object then finally I execute theFirebaseAuth.instance.sendPasswordResetEmail(email: _email, actionCodeSettings: actionCodeSettings);
with the settings and email address.The user receives an email with the dynamic link.

After clicking the link the app opens and is processed by the code in Step 2 above, but the query paramaters from the deep link are NOT passed in.
Am I Missing something here - why is the API Key the only query parameter being passed in?
Any help would be greatly appreciated.
Adam
Beta Was this translation helpful? Give feedback.
All reactions