You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we make a call to admin.auth.generateSignInWithEmailLink or any other actionLink-related method, the linkDomain is ignored and the firebase project default url is used instead.
The firebase-admin SDK calls the Identity Toolkit API, which is the actor that is probably ignoring the linkDomain param.
Relevant Code:
varactionCodeSettings={url: `${appDomain}/mobile/emailLinkSignIn`,handleCodeInApp: false,linkDomain: '<other-site>.firebaseapp.com, // Other Hosting site: Does not work, uses default instead// linkDomain: '<custom-domain>, // Custom domain registered in Hosting: Does not work, uses default instead};constsignInWithEmailLink=awaitadmin.auth.generateSignInWithEmailLink(email,actionCodeSettings);console.log(signInWithEmailLink)// Returns "https://<project-id>.firebaseapp.com/__/auth/action?..."
The text was updated successfully, but these errors were encountered:
Describe your environment
Describe the problem
Steps to reproduce:
Whenever we make a call to
admin.auth.generateSignInWithEmailLink
or any other actionLink-related method, the linkDomain is ignored and the firebase project default url is used instead.The firebase-admin SDK calls the Identity Toolkit API, which is the actor that is probably ignoring the linkDomain param.
Relevant Code:
The text was updated successfully, but these errors were encountered: