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

URI issue with IOS #674

Open
jacksnipe24 opened this issue Apr 19, 2019 · 2 comments
Open

URI issue with IOS #674

jacksnipe24 opened this issue Apr 19, 2019 · 2 comments
Labels

Comments

@jacksnipe24
Copy link

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

@bsentosa
Copy link

bsentosa commented May 24, 2019

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.

@priyakher02
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants