1
0
Fork 0
forgejo/routers/api
zeripath 83640c449e
Remove ReverseProxy authentication from the API ()
Since we changed the /api/v1/ routes to disallow session authentication
we also removed their reliance on CSRF. However, we left the
ReverseProxy authentication here - but this means that POSTs to the API
are no longer protected by CSRF.

Now, ReverseProxy authentication is a kind of session authentication,
and is therefore inconsistent with the removal of session from the API.

This PR proposes that we simply remove the ReverseProxy authentication
from the API and therefore users of the API must explicitly use tokens
or basic authentication.

Replace 
Close  
Close  

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-12-27 08:34:05 +08:00
..
packages Normalize NuGet package version on upload () 2022-12-20 22:20:23 -05:00
v1 Remove ReverseProxy authentication from the API () 2022-12-27 08:34:05 +08:00