Account linking works for one database but not the other, same settings.
I have a debug and release firebase project for one of my apps. I use login with google/fb/email. In one of the firebase projects, when I sign in with google + fb, i see that auth joins the accounts (debug). However, in the other database (release), this does not happen. Both projects have "One account per email address" enabled. The release firebase project was imported as a legacy firebase project, this is the only reason I though that the behavior could be different.
I can privately provide names of the projects if someone on the team would like to look into it.
@xsorifc28 we will need more information to debug:
- Have you enabled the correct Sign In Providers in each project?
- Do you have the SHA1 configured properly? This is likely related to the issue since Google Sign In is dependent on the SHA1
- What error logs do you see?
@samtstern
- Both projects have the same Sign In Providers enabled.
- One project is for the release version of the app, so that one has the release SHA1 where as the other has the debug SHA1. Sign in with Google/Facebook/Email works on both projects. The release project does not join the emails. I see two auth-list items for the same email, one for Google and one for Facebook.
- I didn't see any logs that related to the sign-in process.
Release database (again, this database was originally imported from firebase.com, some UIDs are in provider:number format.

Debug database:

The emails are the same, just not sure why they are not joined in the release project.
@xsorifc28 ok so is this what you are trying to do:
- Sign up with email
- Sign out
- Sign up with a Google/Facebook account with an email that matches
- See account linking
?
Yes. Change the first bullet to "sign up with email/Facebook/Google"
@xsorifc28 do you see the same UI flow in each app? You should see one of the "welcome back" screens and then be prompted to sign in with the original method.
In general any information you could provide here would be helpful. Logging output, a description of where the UI fails, etc.
It's really not clear that this is a FirebaseUI issue at all based on the amount of information provided.
Yes, UI flow is same - infact the app is the same, just different package name. The logs just show "notifying about auth state listener". No information about linking. I also am beginning to believe that this is not a Firebase UI issue. Though, could you point me to where the linking happens in FirebaseUI? I'd like to debug that part of the code to see if I can get any information out of it.