[GH-ISSUE #85] Backup Code #34

Closed
opened 2026-02-25 20:32:14 +03:00 by kerem · 3 comments
Owner

Originally created by @plazari15 on GitHub (Sep 13, 2017).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/85

Have an way to create a Backup list of codes, like if my user don't have the cellphone next, he/her can use one code of the list.

Originally created by @plazari15 on GitHub (Sep 13, 2017). Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/85 Have an way to create a Backup list of codes, like if my user don't have the cellphone next, he/her can use one code of the list.
kerem closed this issue 2026-02-25 20:32:14 +03:00
Author
Owner

@antonioribeiro commented on GitHub (Sep 19, 2017):

Not exactly the purpose of google2fa, maybe the case for a framework-specific package like google2fa-laravel.

But I just published a Backup/Recovery package, so it can help people, at least, generate the codes.

<!-- gh-comment-id:330663737 --> @antonioribeiro commented on GitHub (Sep 19, 2017): Not exactly the purpose of google2fa, maybe the case for a framework-specific package like [google2fa-laravel](https://github.com/antonioribeiro/google2fa-laravel). But I just published a [Backup/Recovery](https://github.com/antonioribeiro/recovery) package, so it can help people, at least, generate the codes.
Author
Owner

@tonybyng commented on GitHub (Nov 20, 2017):

Hi. Thanks for a great package. I had a similar question but have just had a look at the backup/recovery package. Am I right in thinking that we use the recovery package to generate a set of codes when a user is logged in, store them against the users account and modify the validate process to accept one of the generated codes instead of the 6 digit authenticator code?

<!-- gh-comment-id:345626101 --> @tonybyng commented on GitHub (Nov 20, 2017): Hi. Thanks for a great package. I had a similar question but have just had a look at the backup/recovery package. Am I right in thinking that we use the recovery package to generate a set of codes when a user is logged in, store them against the users account and modify the validate process to accept one of the generated codes instead of the 6 digit authenticator code?
Author
Owner

@antonioribeiro commented on GitHub (Nov 20, 2017):

Yes, exactly, but

"generate a set of codes when a user register him/herself"

and not

"generate a set of codes when a user is logged in"

And I would also give a way for the user to regenerate them.

<!-- gh-comment-id:345673514 --> @antonioribeiro commented on GitHub (Nov 20, 2017): Yes, exactly, but "generate a set of codes when a user register him/herself" and not "generate a set of codes when a user is logged in" And I would also give a way for the user to regenerate them.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/google2fa#34
No description provided.