In the OAuth 1.0 spec, it is proposed to respond with the following WWW-Authenticate header:
WWW-Authenticate: OAuth realm="http://server.example.com/"
Can I add any other information to this heading? If the request for a secure resource fails, it would be wise to include some information about why? For example:
WWW-Authenticate: OAuth realm="http://server.example.com/", access token invalid
Or is this contrary to the purpose of the response header?
Jon nylander
source share