Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Docs mention basic auth, but client does not know how #82

@allardhoeve

Description

@allardhoeve

Hey there,

I've been trying to get basic authentication working as suggested in the README, but reading through the code, the only Authentication headers that are either read or set are Token based Authentication headers.

I've set authentication up op Apache2 (this works 100% certain). What happens is:

  1. The client fails to ping the registry because of the 401 that Apache sends.
  2. The client fails to log in to Apache because it sends a POST with a JSON with the credentials instead of basic auth headers like a normal client would.

The first issue is solved by allowing /v1/ping to the world (would need an update if ever v1 is abandoned).

The second issue is not easily solved, because it involves fixing the client.

Please either document how to use basic auth or remove the reference :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions