We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate
Syntax
These formats do not conform to RFC 9110:
WWW-Authenticate: <auth-scheme> realm=<realm> token68 WWW-Authenticate: <auth-scheme> realm=<realm> token68 auth-param1=auth-param1-token , ..., auth-paramN=auth-paramN-token WWW-Authenticate: <auth-scheme> realm=<realm> auth-param1=auth-param1-token, ..., auth-paramN=auth-paramN-token WWW-Authenticate: <auth-scheme> token68 auth-param1=auth-param1-token, ..., auth-paramN=auth-paramN-token
They should not be documented.
Per RFC 9110 section 11.6.1, WWW-Authenticate header value is defined as:
WWW-Authenticate
WWW-Authenticate = 1#challenge
Where challenge is defined as (section 11.3):
challenge
challenge = auth-scheme [ 1*SP ( token68 / #auth-param ) ]
If I'm reading this correctly, there can only be either a single token68 or a list of auth-param, and not both.
It may also be helpful to document cases where there are multiple challenges in a single header:
WWW-Authenticate: <auth-scheme1> auth-param1=token1, ..., auth-paramN=auth-paramN-token, <auth-scheme2> auth-param1=token1, ..., auth-paramN=auth-paramN-token
The text was updated successfully, but these errors were encountered:
Thanks for reporting, I'm looking at these pages (HTTP headers in the [s-x] range) for general revisions and I've noted this needs addressing.
[s-x]
Sorry, something went wrong.
bsmth
No branches or pull requests
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate
What specific section or headline is this issue about?
Syntax
What information was incorrect, unhelpful, or incomplete?
These formats do not conform to RFC 9110:
What did you expect to see?
They should not be documented.
Do you have any supporting links, references, or citations?
Per RFC 9110 section 11.6.1,
WWW-Authenticate
header value is defined as:Where
challenge
is defined as (section 11.3):If I'm reading this correctly, there can only be either a single token68 or a list of auth-param, and not both.
Do you have anything more you want to share?
It may also be helpful to document cases where there are multiple challenges in a single header:
The text was updated successfully, but these errors were encountered: