Skip to content
New issue

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

Multiple WWW-Authenticate and Authorization headers #163

Open
bblfish opened this issue Apr 21, 2021 · 0 comments
Open

Multiple WWW-Authenticate and Authorization headers #163

bblfish opened this issue Apr 21, 2021 · 0 comments
Labels
HttpSig Solid-OIDC Solid-OIDC Authentication Spec - Draft

Comments

@bblfish
Copy link
Contributor

bblfish commented Apr 21, 2021

The RFC7235 syntax for WWW-Authenticate and Authorization uses , (commas) to separate key-value pairs rather that semicolons as many other header fields and as suggested by RFC8941 for new header fields. This means that one has to be very careful when parsing concatenated WWW-Authenticate or Authorization headers. This was discussed in Clarify multiple authorization header behaviour or concatenation method issue on the http-core repo in Nov 2018. I am not 100% sure what the result of that discussion was.

We have potentially a few Authentication methods we would like to allow. At least: Basic, Bearer (for Solid-OIDC I guess, but the spec does not make that clear), and HttpSig (that name is not settled as it could also be Signature as it was used to be with draft-cavage) for HttpSig Authentication.

We need to make sure they play well together. Is this problem overcome with HTTP/2.0? One could also use new authentication headers that don't come with the baggage of the headers from the 1990ies.

@bblfish bblfish added HttpSig Solid-OIDC Solid-OIDC Authentication Spec - Draft labels Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HttpSig Solid-OIDC Solid-OIDC Authentication Spec - Draft
Projects
None yet
Development

No branches or pull requests

1 participant