Skip to content
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

[📚] Critical: Firebase Email Link Authentication dependency on Dynamic Links facing deprecation in 2025 #16946

Open
eli1stark opened this issue Jan 7, 2025 · 3 comments
Assignees
Labels
good first issue Good for newcomers plugin: dynamic_links type: documentation Improvements or additions to documentation

Comments

@eli1stark
Copy link

Firebase Dynamic Links (FDL) will be deprecated on August 25, 2025, as stated in the official documentation:

Critical Impact:
The Firebase Authentication's "Sign in with Email Link" feature currently relies heavily on Firebase Dynamic Links. Specifically, the implementation requires a Firebase Dynamic Links domain in the actionCodeSettings:

const actionCodeSettings = {
  // URL you want to redirect back to. The domain (www.example.com) for this
  // URL must be in the authorized domains list in the Firebase Console.
  url: 'https://www.example.com/finishSignUp?cartId=1234',
  // This must be true.
  handleCodeInApp: true,
  iOS: {
    bundleId: 'com.example.ios'
  },
  android: {
    packageName: 'com.example.android',
    installApp: true,
    minimumVersion: '12'
  },
  dynamicLinkDomain: 'example.page.link'
};

Current Limitations:

  • Attempting to use a custom domain (non-FDL) results in an error
  • The feature doesn't work without a valid FDL domain

Questions:

  1. What is the migration path for Email Link Authentication after FDL deprecation?
  2. Will there be an alternative mechanism to handle email link authentication?
  3. Why isn't there a deprecation warning in the Email Link Authentication documentation?

Reference:
Email Link Authentication documentation: https://firebase.google.com/docs/auth/flutter/email-link-auth

@eli1stark eli1stark added good first issue Good for newcomers type: documentation Improvements or additions to documentation labels Jan 7, 2025
@Hamlet626

This comment has been minimized.

@SelaseKay
Copy link
Contributor

cc @russellwheatley

@russellwheatley russellwheatley self-assigned this Jan 10, 2025
@ysak-y
Copy link

ysak-y commented Jan 23, 2025

https://firebase.google.com/docs/dynamic-links says Email Link Authentication still works after FDL is deprecated.

I'm currently using or need to use Dynamic links for email link authentication in Firebase Authentication. Will this feature continue to work after the sunset?
Yes, your email link authentication using Firebase Authentication will continue to work.

Firebase Authentication currently uses Firebase Dynamic Links to customize Authentication links, but we will provide an update that will require a client- side update to ensure that email link auth continues working after the Firebase Dynamic Links service is shut down.

Note that Firebase Authentication only depends on the Firebase Dynamic Links service internally, but does not depend on the Firebase Dynamic Links SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers plugin: dynamic_links type: documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants