-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛] [🔥] sendPasswordResetEmail - auth/internal-error when url included #6838
Comments
i have the same error, i use RN CLI(without Expo) |
Save issue. This is kind of annoying. Not sure whether this is a Firebase issue or this library's issue. |
I can replicate the issue with simple |
I haven't had this issue specifically. When sending just an email address, the request succeeds and I do get an email on the other end. For me, including the |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This issue still requires attention. |
+1 here, i have the same issue wen when i add the continueURL |
+1 here too. Same issue when I add the url option and once or twice even when I don't add it. I wondered if it is related to a rate limit from calling it multiple times in a row during testing, but I waited a few hours and it's still an issue. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This issue still requires attention. |
Also here still need attention |
This still requires attention and better documentation on the use of sendPasswordResetEmail |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This issue still requires attention. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This issue still requires attention. |
+1, also running into the same issue when including URL |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This issue still requires attention. |
This issue still requires attention. It's worked its way far enough up my backlog that I'll probably investigate the source myself in the next few months. |
Hello @mbaker3, did you try enabling dynamic links in Firebase project? |
I haven't, as far as I understand it shouldn't be required if the URL is whitelisted. I had planned to test out Dynamic Links but I'm a bit hesitant to invest the effort since it's being deprecated in the future anyway. |
Same problem with the dart api, including a url with a whitelisted domain throw an internal error exception. |
I am using the following code:
On Android the email was sent successfully without any issues, and here is the result: While on iOS it was failing, I have read in another thread that enabling dynamic links in Firebase console will fix this and it did in my case. As you can see in the following link, the URL is generated from dynamic links in iOS case: |
Hmmm, interesting. Requiring DynamicLinks makes sense in your case because you're asking to handle the flow in your app with We want to rely on the web flow to handle our reset so we have
I'm not sure how I missed that on first pass but it seems a regular URL was never expected to work?! If that's the case then this my original report on this issue is not a bug. Leaving this issue open until I verify that constructing a universal link does in fact work. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This appears to be a documentation issue. Support got back to me and told me that you have to use dynamic links, it won't work without them currently. |
I did not know that! Very interesting given dynamic-links is deprecated+sunsetting but I suppose if it's a requirement now it's a requirement. If there is any place in our documentation on rnfirebase.io that you notice related to this which would be improved by noting the dynamic-links as a strict requirement, there's an edit button top right of every page (even the types pages built off typescript - they are turned into the docs site dynamically after merging an edit) |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Hey @opsb @mikehardy, I'm currently switching from the JS Firebase SKD to React Native Firebase and I've also run into this issue on iOS, but with email verification:
This definitely works with the JS SDK. It can be a regular url and with universal links configured on iOS, it will correctly deep link into the app if the user opens the email on their phone and taps "Continue". With React Native Firebase I get the |
Reopening, sure. Have you tried configuring dynamic links? May still be a requirement for the URL param? With apologies I'm mobile right now and haven't reanalyzed this issue deeply at all |
The thing is I'd rather not configure or use dynamic links since they're deprecated. Based on the Firebase web docs, the only requirement is to:
With the other params being optional, this was enough to get it working with the JS Firebase SDK. I don't have dynamic links configured and I'm not specifying the So I think it's just passing a regular url via params and with universal links configured on iOS opening the |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
This is still an issue and setting up Dynamic links is obviously not a possibility since it's fully deprecated in 5 months time - I've searched everywhere for a solution that does not require this, and cannot seem to find any. |
@HannahCarney this is still an issue, however: 1- there is no alternative yet, and dynamic links will continue to work for this specific email auth link use case after sunset: https://firebase.google.com/support/dynamic-links-faq#im_currently_using_or_need_to_use_dynamic_links_for_email_link_authentication_in_firebase_authentication_will_this_feature_continue_to_work_after_the_sunset 2- you may onboard to dynamic links for this and only this use case via support: https://firebase.google.com/support/dynamic-links-faq#i_need_to_onboard_onto_firebase_dynamic_links_to_enable_email_link_auth_in_firebase_authentication_what_should_i_do |
It's possible disable dynamic link when sendPasswordReset email? The dynamic link's is deprecated and not still work in aug 2025. |
@guilhermehrcosta please read my comment just above yours, but very very carefully. Your concern is specifically addressed. |
Issue
Currently having issues sending a password reset email when the continue URL is included. When a whitelisted URL is included in the
actionCodeSettings
object firebase returns anauth/internal-error
. I haven't yet tried setting up dynamic links to see if the continue URL will work with a dynamic link vs a standard (whitelisted) url.I'm hoping to be able to redirect to one of our own web pages once password reset is complete. I don't believe setting up dynamic links should be required but feel free to dismiss this bug if I've misinterpreted what firebase should support!
(This is in an Expo project using the custom dev client)
My usage is as follows
The error emitted:
[auth/internal-error] An internal error has occurred, please try again.
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:Android
Not currently targeting with app.
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:16.4.3
16.5.0
Firebase
module(s) you're using that has the issue:auth
TypeScript
?Y
&4.8.3
46.0.19
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: