[GH-ISSUE #9] Recovery Codes Question #6

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

Originally created by @codivist on GitHub (May 21, 2015).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/9

Thanks for the awesome work on this! I've implemented this package into Laravel and it works great!

I'm now trying to generate recover codes or back up codes. Like this page: https://support.google.com/accounts/answer/1187538?hl=en
How are you generating recovery codes (backup codes) incase a user doesn't have their phone?

I've looked through the code and have been thinking of different ways I can implement a recovery code list, but coming up empty handed.

Can the one time password method oathHotp be used in a loop to generate those codes?

Originally created by @codivist on GitHub (May 21, 2015). Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/9 Thanks for the awesome work on this! I've implemented this package into Laravel and it works great! I'm now trying to generate recover codes or back up codes. Like this page: https://support.google.com/accounts/answer/1187538?hl=en How are you generating recovery codes (backup codes) incase a user doesn't have their phone? I've looked through the code and have been thinking of different ways I can implement a recovery code list, but coming up empty handed. Can the one time password method `oathHotp` be used in a loop to generate those codes?
kerem closed this issue 2026-02-25 20:32:07 +03:00
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#6
No description provided.