Skip to content

Fix if_exists check for non 0 if_exists codes#3

Open
Tortuginator wants to merge 1 commit into
RedByte1337:masterfrom
Tortuginator:tortuginator/fix-exists
Open

Fix if_exists check for non 0 if_exists codes#3
Tortuginator wants to merge 1 commit into
RedByte1337:masterfrom
Tortuginator:tortuginator/fix-exists

Conversation

@Tortuginator

Copy link
Copy Markdown

Hi,

thank you for your work! I just tested your tool and came across a small bug with some oddly configured Entra ID accounts that have an if_exists code of 8, which maps to ExistsInAcma. Your code previously handled these users the same as users that did not exist.

I fixed it so that users with the if_exists states Exists/ExistsBothIDPs/ExistsInOtherMicrosoftIDP/ExistsInAcma are treated as existing, and their authentication methods are shown properly. This is analogous to how the JavaScript signin client treats these states.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant