1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-30 15:15:47 +00:00
gitea/routers/api
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
..
actions Fix/upload artifact error windows (#27802) (#27840) 2023-10-30 11:57:48 +00:00
packages Add endpoint for not implemented Docker auth (#28457) (#28462) 2023-12-13 22:06:24 +01:00
v1 Do some missing checks (#28423) (#28432) 2023-12-12 06:20:18 +00:00