Hi @t.fukao, and thank you for your question, which can help clarify this issue.
It is not possible to generate multiple recovery codes for the user at the same time. As my colleague pointed out in the topic you linked, only one recovery code can be active at a time. The initial code is generated upon enrollment, and afterwards, a code to replace the initial one can be generated with a call to the Management API.
I understand that the property name recovery_codes
is misleading, and perhaps the team would like to implement this feature later. It would be a great idea to share your use case with the team in the feature-request section.
Thank you, and let me know if there is more I can help you with!
Teodor.