Hey, I'm using WorkOS MFA in my customer project & utilise Ruby gem. Everything works as expected but I was able to find one confusing response:
When running a challenge_factor request I can see an attribute code: nil for WorkOS::Challenge in response (and it returns nil for this attribute for any auth_factor_id), example:
Hey, I'm using WorkOS MFA in my customer project & utilise Ruby gem. Everything works as expected but I was able to find one confusing response:
When running a
challenge_factor
request I can see an attributecode: nil
for WorkOS::Challenge in response (and it returns nil for this attribute for anyauth_factor_id
), example:I can see that Code is NOT covered in the Authentication Challenge documentation as well: https://workos.com/docs/reference/user-management/mfa/authentication-challenge
I would suggest to either remove Code from response or to document it properly.