Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential issue w/ google auth qr code generator & required fields #15

Open
SignpostMarv opened this issue May 8, 2019 · 0 comments
Open

Comments

@SignpostMarv
Copy link
Contributor

At the time of writing with some very brief tests with the plain text encoder, it appears that the google auth app doesn't like qr codes that lack a username.

            $output->writeln('FIDOU2F QR Code:');

            ob_start();
            (
                new GoogleAuth(
                    $two_factor_auth_secret,
                    TOTP::ObtainInstance(time(), 30)
                )
            )->makeQRCode(
                new Writer(new PlainTextRenderer()),
                'php://output'
            );

            $output->write(ob_get_clean());

p.s. going to make some qrcode-related changes shortly.

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

No branches or pull requests

1 participant