You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
401 responses MUST contain WWW-Authenticate header #655
The server generating a 401 response MUST send
a WWW-Authenticate header field (Section 4.1) containing at least one
challenge applicable to the target resource.
The legacy solid-auth-client requires the value to be exactly Bearer scope="openid webid", which is a pain because that's not forward compatible. But we need to set it in any case.
I think it's mostly independent of #654 (although the interfaces might influence each other). We might need something similar to the BasicResponseWriter where a bunch of MetadataWriters add metadata, but in this case then based on the error/status code.
Activity
jvherweg commentedon Mar 5, 2021
I think it's mostly independent of #654 (although the interfaces might influence each other). We might need something similar to the
BasicResponseWriterwhere a bunch ofMetadataWriters add metadata, but in this case then based on the error/status code.