Skip to content

(auth/account-exists-with-different-credential) is not handled properly. #960

@Jerit3787

Description

@Jerit3787

[REQUIRED] Describe your environment

  • Operating System version: Windows 11 22H2 (Build 22621.160)
  • Browser version: Microsoft Edge Version 101.0.1210.53 (Official build) (64-bit)
  • Firebase UI version: 6.0.1
  • Firebase SDK version: 9.8.3

[REQUIRED] Describe the problem

Steps to reproduce:

In my setup, I registered students using email in the backend. And firebase-ui only provides microsoft login for students to use. In v8, firebase-ui would handle the linking of email & microsoft properly. I haven't changed any major code, only making changes so that Firebase v9 Compat would work. As I tested the features, this error occurs (auth/account-exists-with-different-credential). I know that I've enabled the setting 'one account for one email'. But before this firebase-ui would handle the linking properly. I hope that's a bug if not I investigate on it more

EDIT : As I tested with the demo, not all provider are causing this. Logging with google and using email, firebase-ui handle the login properly. When I tested with microsoft and email, it showed blank seems like login was unsuccessful.

EDIT 2 : More suggestions shows that using Microsoft’s account as secondary login option does break this login. Tested using email & microsoft / google & microsoft

related to #954, #956

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions