Currently, I am utilizing the signInWithEmailLink
wrapper from AngularFire for Firebase authentication. Despite providing a valid email address and return URL as arguments, an error is being thrown stating "Invalid email link!" without even initiating any network request to Firebase. It seems like the issue lies with the second argument of the method which is expected to be a string. I am unable to pinpoint what could be going wrong in this scenario.
Here's an example:
// signInWithEmailLink(emailAddress: string, emailLink: string)
this.auth.signInWithEmailLink('<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="147075627154716c75796478713a777b79">[email protected]</a>', 'https://my-app/email-link-return');
Unfortunately, there is no specific documentation about this method in AngularFire. While it is recommended to refer to Firebase docs for each wrapped method, the arguments listed in the Firebase docs for the same method are quite different. Has anyone encountered and resolved this issue?