diff --git a/docs/spec/auth/oauth.md b/docs/spec/auth/oauth.md index 56d7d943..2f561b2e 100644 --- a/docs/spec/auth/oauth.md +++ b/docs/spec/auth/oauth.md @@ -53,11 +53,14 @@ Content-Type: application/x-www-form-urlencoded this service.
client
+ client_id
access_type
@@ -97,7 +100,7 @@ Host: auth.docker.io
Authorization: ...
Content-Type: application/x-www-form-urlencoded
-grant_type=password&service=hub.docker.io&client=dockerengine&access_type=offline
+grant_type=password&service=hub.docker.io&client_id=dockerengine&access_type=offline
HTTP/1.1 200 OK
Content-Type: application/json
@@ -112,7 +115,7 @@ POST /token HTTP/1.1
Host: auth.docker.io
Content-Type: application/x-www-form-urlencoded
-grant_type=refresh_token&refresh_token=kas9Da81Dfa8&service=registry-1.docker.io&client=dockerengine&scope=repository:samalba/my-app:pull,push
+grant_type=refresh_token&refresh_token=kas9Da81Dfa8&service=registry-1.docker.io&client_id=dockerengine&scope=repository:samalba/my-app:pull,push
HTTP/1.1 200 OK
Content-Type: application/json