Contradictory information on User-Interactive Authentication for the /register endpoint #1980
Labels
clarification
An area where the spec could do with being more explicit
client-server
Client-Server API
From here:
This can essentially be summarized as "any endpoint that supports UIA, must require that it is used in all cases".
However, this says:
... which suggests that it is optional for a client to engage in the UIA process, and that the server should be tolerant of that; and indeed, in version
r0.0.0
of the specification, UIA is not present.Both cannot be satisfied at the same time; either the server must strictly produce a 401 and demand UIA, or never produce any UIA-related responses (as the client is not permitted to attempt UIA unless it receives a 401).
Further, since the endpoint address is the same in both
r0.4.0
andr0.0.0
, a server that wants to support the latter would need to leave out the 401 responses.Which is the correct thing to do here? Strictly requiring UIA would break clients that do not support it (if any of them still exist), but never requiring it would violate the specification.
The text was updated successfully, but these errors were encountered: