Skip to content

Recording company name with authenticator app #152

@jamminjames

Description

@jamminjames

In your demo, you have:

// substitute your company or app name here
$tfa = new RobThree\Auth\TwoFactorAuth(new RobThree\Auth\Providers\Qr\QRServerProvider());

But it's not clear where to put the company name. I tried:
$tfa = new RobThree\Auth\TwoFactorAuth(new RobThree\Auth\Providers\Qr\QRServerProvider('Company Name'));

... but after scanning the QR code, the Google Authenticator app I'm using does not show the company name. It only shows the user email from:
$tfa->getQRCodeImageAsDataUri($username, $secret);

How do we enter the company name for the authenticator app?

Thanks for any help.

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