Open tjlytle opened 7 years ago
I think an established format for communicating how to complete the factor(s) is worthwhile, however, it's definitely outside of the scope of the HTTP status code. Perhaps a sibling proposal for an MFA Required
type similar to HTTP Problem
in terms of flexibility would be beneficial.
Seems like the response should communicate something about how the factor can be completed. Many 2FA / MFA steps require the
requester
to send auser
provided auth code. Some steps are completely out of band (for example, a challenge sent and completed by a known app/device).Two things should be communicated:
requester
needs to doUsing
3XX
and201
as guides, proposed addition: