-
Notifications
You must be signed in to change notification settings - Fork 238
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
Define clearly the meaning of the Http
authentication
#2672
Comments
ProposalHttp Authentication is defined as an authentication that use the
The scheme value is case insensitive, typespec provided models will use the cannonical name of the authentication scheme. Authorization: <scheme> <value> Example: Authorization: Basic ZGVtbzpwQDU1dzByZA==
Authorization: Bearer eyzabcdefhijk
Authorization: CustomScheme abcdef |
|
est: 5 |
Describe the breaking change Back-compat design to avoid immediate breaking Impact
Targeted Sprint Additional information |
Discussion opened on this pr #2639
Right now we have schema being an open value with some known ones(
bearer
andbasic
) It was previously assumed that the http authentication should format the header in this format<scheme> <value>
but the spec says thatbearer
should beBearer
The values we have are inline with openapi3 but we have never explicitly defined the meaning of the scheme.
Should it be a set of known values that emitters should understand or shoudl emitter just take the value as it is
<scheme> <value>
The text was updated successfully, but these errors were encountered: