forgejo/routers
Giteabot a77398cd34
Add endpoint for not implemented Docker auth (#28457) (#28462)
Backport #28457 by @KN4CK3R

Recently Docker started to use the optional `POST /v2/token` endpoint
which should respond with a `404 Not Found` status code instead of the
current `405 Method Not Allowed`.

> Note: Not all token servers implement oauth2. If the request to the
endpoint returns 404 using the HTTP POST method, refer to Token
Documentation for using the HTTP GET method supported by all token
servers.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
(cherry picked from commit 74ab798033)
2023-12-22 12:05:11 +01:00
..
api Add endpoint for not implemented Docker auth (#28457) (#28462) 2023-12-22 12:05:11 +01:00
common [BRANDING] Use forgejo binary name 2023-11-13 13:59:40 +01:00
install Merge branch 'rebase-v1.21/forgejo-branding' into wip-v1.21-forgejo 2023-11-13 16:47:18 +01:00
private
utils
web Do some missing checks (#28423) (#28432) 2023-12-12 15:21:33 +01:00
init.go