Docker Community Forums

Share and learn in the Docker community.

Unable to perform password authentication

(Rquackenbush) #1

I’ve been following the docs here:

I’m trying to get a token which grants me push access to my repository:

I’m using these values for the form:

Service = "";
Realm = "";
Scope = "repository:boondocks/device-api:push";

I don’t seem to be able to POST to the specified realm. This is strange because the docs specifically describe this:

POST /token HTTP/1.1
Content-Type: application/x-www-form-urlencoded


What am I missing?

(Rquackenbush) #2

Figured it out:

The username / password is sent in a basic authentication header (base64 encoded). Still not sure why the documentation states you can POST to that endpoint.