Closed
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
login/ui
Describe the bug
During setup of the recovery authentication codes, the list showing the codes is numbered starting from 1. When the user chooses to "Download" or "Copy" the codes, the resulting file/copy is indexed from 0 instead.
During authentication, the requested code is counted from 1 again.
This will lead to confusion for users who chose to download/copy the codes.
Version
26.0.0
Regression
- The issue is a regression
Expected behavior
The recovery codes should be numbered in a consistent fashion.
Actual behavior
The displayed codes are numbered starting from 1, while the copied/downloaded codes are numbered from 0. During authentication, the codes are counted from 1.
How to Reproduce?
- Activate the recovery authentication code preview feature
- Configure recovery authorization codes for a realm
- Log into the account console and navigate to Account Security > Signing In
- Start the recovery authentication code setup
- Compare the displayed list of codes with the one that can be copied and the one that can be downloaded
- Try logging in a realm with recovery authentication codes. Compare the requested code index with the downloaded/copied list
Anything else?
No response