forgejo/routers/api
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
..
actions Fix/upload artifact error windows (#27802) (#27840) 2023-10-30 11:57:48 +00:00
forgejo/v1 [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
packages Add endpoint for not implemented Docker auth (#28457) (#28462) 2023-12-22 12:05:11 +01:00
v1 Revert "Deprecate query string auth tokens (#28390) (#28430)" 2023-12-12 17:04:38 +01:00