When you configure an issuer with a space or other special character, the Google Authenticator app in iOS , claims the generated QR code is invalid. This is because the issuer is not URL encoded. URL encoding is mandatory according to: https://github.com/google/google-authenticator/wiki/Key-Uri-Format

The attached patch fixes it for me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jeroen_vreuls created an issue. See original summary.

jeroen_vreuls’s picture

bramtenhove’s picture

Status: Active » Reviewed & tested by the community

I can confirm this patch fixes the issue.

Thanks jeroen_vreuls!

bgm’s picture

Also works for me. iOS users were unable to scan qrcodes. Thanks!

jcnventura’s picture

Thanks!

  • jeroen_vreuls authored e17af16 on 8.x-1.x
    Issue #3054584 by jeroen_vreuls, bramtenhove, jcnventura, bgm: QR code...
jcnventura’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.