0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 19:54:40 +01:00
gitea/routers
Giteabot 74ab798033
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>
2023-12-13 22:06:24 +01:00
..
api Add endpoint for not implemented Docker auth (#28457) (#28462) 2023-12-13 22:06:24 +01:00
common Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
install Refactor system setting (#27000) (#27452) 2023-10-05 10:37:59 +00:00
private
utils
web Do some missing checks (#28423) (#28432) 2023-12-12 06:20:18 +00:00
init.go