Skip to content

MS Authenticator shows email domain when using email as label (account name) instead of issuer #19

Description

@mhagesfeld

If I use an email address as the "label" in creating the QR code, Microsoft Authenticator uses the domain from the email as the Issuer, rather than the provided issuer.

To wit:
EX 1 - Not Email (i.e. sample code):

  • private readonly TwoFactorAuth tfa = new TwoFactorAuth("MyCompany", qrcodeprovider: new QRCoder.QRCoderQRCodeProvider());
  • Model.GetQrCodeImageAsDataUri("Bob Ross", (string)Session["secret"])"

RESULT:
image

EX 2 - Email Label:

  • private readonly TwoFactorAuth tfa = new TwoFactorAuth("MyCompany", qrcodeprovider: new QRCoder.QRCoderQRCodeProvider());
  • img src="@Model.GetQrCodeImageAsDataUri("mypaint@thebobross.com", (string)Session["secret"])"
    RESULT:
    image

image

However, the email DOES work properly in Google Authenticator:
image

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions