Skip to content

Hawk's Authorization Response Header #706

@MathieuLoutre

Description

@MathieuLoutre

Hapi only seems to set an Authorization header and no Server-Authorization header when using Hawk. Hapi seems to call the Hawk's server header generation but assign it to the Authorization field instead of the Server-Authorization field:

    var header = Hawk.server.header(artifacts, options);
    if (header) {
        request.response.header('Authorization', header);
    }

Again, am I missing something?

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions