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

New header field vs existing Authorization header #2432

Closed
chris-wood opened this issue Feb 7, 2023 · 8 comments · Fixed by #2571
Closed

New header field vs existing Authorization header #2432

chris-wood opened this issue Feb 7, 2023 · 8 comments · Fixed by #2571

Comments

@chris-wood
Copy link
Contributor

Is there a technical reason why the WWW-Authenticate header was not chosen for this draft? That can be sent without a corresponding challenge (in an unprompted way), as we note in the HTTP authentication scheme for Privacy Pass. It seems like that would work in this context, too.

@mnot mnot transferred this issue from DavidSchinazi/draft-schinazi-httpbis-transport-auth Feb 24, 2023
@tfpauly
Copy link
Contributor

tfpauly commented Feb 25, 2023

Is this rather about using the Authorization header?

@chris-wood
Copy link
Contributor Author

🤦 Yep!

@DavidSchinazi DavidSchinazi changed the title New header field vs WWW-Authenticate New header field vs existing Authorization header Feb 27, 2023
@DavidSchinazi
Copy link
Contributor

@chris-wood can you elaborate on "as we note in the HTTP authentication scheme for Privacy Pass"? I skimmed through that draft and it seems to clearly require a TokenChallenge before sending a Token.

@chris-wood
Copy link
Contributor Author

I thought we had text that described it, but I can't find it. In any case, I think one can send the Authorization header unsolicited, so I think this draft ought to do that instead of rolling a new auth header.

@DavidSchinazi
Copy link
Contributor

Fair enough, let's discuss this at 116.

@bemasc
Copy link
Contributor

bemasc commented Mar 14, 2023

FWIW, I agree that unprompted "Authorization" is permissible in this context, but I think "Unprompted-Authorization" could be useful for clarity when reading logs, etc.

@DavidSchinazi
Copy link
Contributor

Discussed at IETF 116, sense of the room appeared to be that switching to Authorization made sense.

@DavidSchinazi
Copy link
Contributor

OK wrote up #2571 to address this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

5 participants