Here's my code. I'm attempting to implement Firebase Passwordless Sign in.
final ActionCodeSettings acs = ActionCodeSettings(
url: 'https://example.com/completeLogin}',
handleCodeInApp: true,
iOSBundleId: config.bundleId,
androidPackageName: config.packageName,
dynamicLinkDomain: config.firebaseDomain,
androidInstallApp: true);
await FirebaseAuth.instance.sendSignInLinkToEmail(
email: '[email protected]',
actionCodeSettings: acs);
CodePudding user response:
To solve this,
A valid continue URL must be provided in the request.
Make sure that the URLs you are providing are valid.
Your URL has a }
at the end - url: 'https://example.com/completeLogin}'
, which is probably making it invalid.