Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

URI issue with IOS #674

Description

@jacksnipe24

I have link in the webpage that should open Google Authenticator and save the secret

otpauth://totp/ATAIX?secret=OZ5ECQBOGQXXQTB7LZAXGKLNEQYEYQKHPUZTGOCNN5KHSJBVKIYA

In Android everything works fine. There is an issue with ios. When the app is downloaded and there are no generated keys, when clicking link above it indeed opens Google Authenticator and even asks to save the secret, however after clicking YES, nothing happens in the screen. it still shows default blue screen of the app, but actually code was generated. When i close the app and open again now code is there. After this if i click the link above it asks again to save and actually saves.

So from my observations if there are no codes (blank app) then clicking the link generates the code, but wont show in the app unless we restart the app. If there are codes already, everything works fine.

reproduction link

Activity

  1. bsentosa commented on May 24, 2019

    @bsentosa

    HI,

    I'm not in the project. But I encountered this, I'm not sure if this is related with your problem. The workaround is to check if there is any space in the URI. If there is a space in the URI (not in the secret key), this will make an invalid URI. Just replace it with "_" (underscore). The space was acceptable in the Android, but not in the IOS.

  2. priyakher02 commented on Mar 17, 2020

    @priyakher02

    I have similar issue. Is there a fix for this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions