docs icon indicating copy to clipboard operation
docs copied to clipboard

Docs information conflicts with example

Open josh-cain opened this issue 8 years ago • 2 comments

File: registry/spec/auth/oauth.md, CC @joaofnfernandes

For the refresh_token field, your docs state that "This field will only be set when access_type=offline is provided in the request.". However, the access token example (heading "Example refreshing an Access Token") demonstrates a refresh_token being returned without the access_type=offline parameter.

Which way is correct?

josh-cain avatar Jan 29 '18 22:01 josh-cain

Closing, see above where "If the grant type is "refresh_token" this will only return the same refresh token and not a new one.". Could probably help to disambiguate on the refresh_token field as well, but I think it's covered.

josh-cain avatar Jan 29 '18 22:01 josh-cain

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

docker-robott avatar Mar 12 '23 03:03 docker-robott