gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

WWW-Authenticate Response Header Field #11

Closed shiphrah closed 11 years ago

shiphrah commented 11 years ago

The O-Auth spec says:

3. The WWW-Authenticate Response Header Field

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.

I guess this should also hold true for paia!?