Fixes and refactors a few things with the IDX API, thank you zod for helping identify these! Split into 3 individual commits to make it easier to review.
Creates a sartIdxFlow helper method to implement the interact and introspect calls which will be needed at the start of every possible passwordless/passcode flow.
challengeResponseSchema should inherit the idxBaseResponseSchema and not the baseRemediationValueSchema as it was previously doing (this should be used under the remediation property)
No longer inherit from selectAuthenticatorValueSchema for the authenticator-verification-data remediation, as the type is different (although very similar)
What does this change?
Fixes and refactors a few things with the IDX API, thank you
zod
for helping identify these! Split into 3 individual commits to make it easier to review.sartIdxFlow
helper method to implement theinteract
andintrospect
calls which will be needed at the start of every possible passwordless/passcode flow.4b7b8b8
(#2853)challenge
endpointchallengeResponseSchema
should inherit theidxBaseResponseSchema
and not thebaseRemediationValueSchema
as it was previously doing (this should be used under theremediation
property)7991a7b
(#2853)recover
endpointselectAuthenticatorValueSchema
for theauthenticator-verification-data
remediation, as the type is different (although very similar)9a01457
(#2853)