Skip to content

Allow headers paramter for ejsResource() to support authentication #736

@mcbain

Description

@mcbain

Current:
$scope.ejs = ejsResource(config.elasticsearch);

New (Example):
$scope.ejs = ejsResource({server: config.elasticsearch, headers: {'Access-Control-Request-Headers': 'accept, origin, authorization', 'Authorization': 'Basic ' + Base64Encode('user:Password')}});

Details http://stackoverflow.com/questions/19867663/how-and-where-to-implement-basic-authentication-in-kibana-3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFixes for quality problems that affect the customer experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions