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

Honor DAP-Auth-Token or Authorization: Bearer #1306

Merged
merged 1 commit into from
Apr 27, 2023

Commits on Apr 27, 2023

  1. Honor DAP-Auth-Token or Authorization: Bearer

    When acting as an HTTP server (i.e., helpers handling aggregation job or
    aggregate share messages, or leaders handling collection requests),
    Janus will now check for the authentication token in the more standard
    `Authorization: Bearer <token>` format defined in RFC 6750, as it
    already does in the aggregator API. If that header is absent, it falls
    back to checking `DAP-Auth-Token` for compatibility with existing peers.
    Nothing changes about the format or handling of the authentication token
    itself, which remains an opaque blob o' bytes.
    
    Part of #472
    tgeoghegan committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    bc8cf98 View commit details
    Browse the repository at this point in the history