Skip to content

Add documentation on how to handle the callback_url, and how to verify a callback request came from docker. #23955

@c00

Description

@c00

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

Documentation on how to use these webhooks effectively is missing. Specifically regarding verifying the legitimacy of a webhook request.

The Webhook page shows a nice example of a webhook post body. The first property of the post body is the callback_url. But what to do with this? I assume it is to verify with docker hub that the request is actually sent from docker, and not some malicious source. However, I can't find any information on how to deal with this callback url.
Calling it, either with GET or POST just results in a 404.

Location

https://docs.docker.com/docker-hub/repos/manage/webhooks/

Suggestion

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions