I am using /mfa/associate
API to enroll for otp based 2fa.
The response includes a recovery_codes
array, but it currently only provides a single recovery code.
Is there any way to generate multiple codes?
Here’s the relevant part of my request:
$response = Http::withHeaders([
'Authorization' => 'Bearer ' . $request->mfa_token,
'Content-Type' => 'application/json',
])->post('https:// { MY_DOMAIN } /mfa/associate', [
'authenticator_types' => ['otp'],
]);
My Question is essentially the same as this one.
However, after a period of inactivity, it was closed with only a wide of the mark answer.
Any insights or guidance on this would be greatly appreciated.
Thank you.