Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Include the HTTP "WWW-Authenticate" response header field #30

Open
dmitrykrivaltsevich opened this issue Aug 16, 2017 · 0 comments
Open
Labels

Comments

@dmitrykrivaltsevich
Copy link
Collaborator

RFC 6750 defines response headers for various cases. In the section 3 it states:

   If the protected resource request does not include authentication
   credentials or does not contain an access token that enables access
   to the protected resource, the resource server MUST include the HTTP
   "WWW-Authenticate" response header field; it MAY include it in
   response to other conditions as well.  The "WWW-Authenticate" header
   field uses the framework defined by HTTP/1.1 [RFC2617].

So we need to add this header in order to make the library more compliant with the standard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant