Skip to content

1.0: in_http: Add Authorization auth mechanism document #382

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

Closed
wants to merge 2 commits into from

Conversation

cosmo0920
Copy link
Contributor

Signed-off-by: Hiroshi Hatake hatake@calyptia.com

Signed-off-by: Hiroshi Hatake <hatake@calyptia.com>
@cosmo0920
Copy link
Contributor Author

Hmm, using GitHub suggestion commit breaks DCO. I'll fix it later.

Co-authored-by: Kentaro Hayashi <kenhys@gmail.com>
Signed-off-by: Hiroshi Hatake <hatake@calyptia.com>
@cosmo0920 cosmo0920 force-pushed the 1.0-in_http-authorization branch from 7d5da49 to 6317fa8 Compare December 14, 2021 12:30

If you set `Basic <<Base64 encoded string>>` to `authorization_token`, `in_http` verifies `Authorization` HTTP header as token for authentication.
This `authorization_token` can handle not only Basic authentication but also other types of authentications.
`authentication_token` will be interpreted as `<type>` and `<credentials>`:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- authentication_token
+ authorization_token

```
Authorization: <type> <credentials>
```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashie
Copy link
Member

ashie commented Dec 15, 2021

The patch is rejected.

@ashie ashie closed this Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants