Repository navigation
FirebaseAuthException ([firebase_auth/internal-error] An internal error has occurred, print and inspect the error details for more information.) #17730
Replies: 1 comment
|
Yes. The main issue is likely not your bundleId. It is the way ActionCodeSettings.url is being used. await FirebaseAuth.instance.currentUser! Then in Firebase Console: Firebase's current documentation says the domain used for the continue URL must be authorized. Firebase That means Firebase handles the verification through the web flow first, and only afterward can it redirect to the app. For a flow where you want the email action handled by the mobile app, Firebase documents: with the Android package name / iOS bundle ID configured. Firebase rather than: Also, Firebase Dynamic Links are indeed deprecated/shut down, so migrating to Firebase's newer Hosting-link approach is the current direction. Firebase documents linkDomain as the replacement for the deprecated dynamicLinkDomain. Firebase If you're using iOS, use: You should configure the platform you're actually targeting. |
Uh oh!
There was an error while loading. Please reload this page.
I have firebase authentication with email/password sign-in. Normally it is working just fine when we make the call
await user.sendEmailVerification();and it sends the email using the template in the console.
Now I am trying to change the url to appsflyer's onelink, so I can direct users back to the app after they click on the verification link. ( I guess firebase dynamic links are deprecated so trying to use appsflyer) To do that I define the actionCodeSettings and pass it as argument.
`
final actionCodeSettings = ActionCodeSettings(
url: oneLink, // onelink url created by appsflyer.
handleCodeInApp: false, // allow handling in-app if link is opened on device
iOSBundleId: ,
);
`
This time I am just getting "FirebaseAuthException ([firebase_auth/internal-error] An internal error has occurred, print and inspect the error details for more information.)" error which doesn't say much. I double checked the bundle id, and URL, what am I missing?
All reactions