Skip to content

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

@SignpostMarv

Description

@SignpostMarv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions