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

The issuer option is not included in latest realease #133

Open
devrojan opened this issue Nov 20, 2020 · 3 comments
Open

The issuer option is not included in latest realease #133

devrojan opened this issue Nov 20, 2020 · 3 comments

Comments

@devrojan
Copy link

Hi,

Just a minor issue, I think the issuer option in generateSecret method was not included in latest release..

@amorenopbsc
Copy link

I am using 2.0.0 and I can confirm even though I am sending issuer parameter, the function generateSecret is NOT including the parameter in otpauth_url.

@yariksav
Copy link

yariksav commented Feb 5, 2021

same issue

@fenichelar
Copy link

generateSecret does not accept issuer as an input.

Instead, use the otpauthURL function and set label to ${issuer}:${name} and issuer to ${issuer}.

Note that you should not use generateSecret with name set to ${issuer}:${name} because it will only put the issuer in the label, not both the label and issuer parameter as recommended.

Source: https://github.com/google/google-authenticator/wiki/Key-Uri-Format

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

4 participants