mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4e879fed90
## Changes - Add deprecation warning to `Token` and `AccessToken` authentication methods in swagger. - Add deprecation warning header to API response. Example: ``` HTTP/1.1 200 OK ... Warning: token and access_token API authentication is deprecated ... ``` - Add setting `DISABLE_QUERY_AUTH_TOKEN` to reject query string auth tokens entirely. Default is `false` ## Next steps - `DISABLE_QUERY_AUTH_TOKEN` should be true in a subsequent release and the methods should be removed in swagger - `DISABLE_QUERY_AUTH_TOKEN` should be removed and the implementation of the auth methods in question should be removed ## Open questions - Should there be further changes to the swagger documentation? Deprecation is not yet supported for security definitions (coming in [OpenAPI Spec version 3.2.0](https://github.com/OAI/OpenAPI-Specification/issues/2506)) - Should the API router logger sanitize urls that use `token` or `access_token`? (This is obviously an insufficient solution on its own) --------- Co-authored-by: delvh <dev.lh@web.de> |
1 year ago | |
---|---|---|
.. | ||
actions | ||
activitypub | 1 year ago | |
analyze | ||
assetfs | ||
auth | 1 year ago | |
avatar | ||
base | ||
cache | ||
charset | ||
container | ||
context | 1 year ago | |
contexttest | 1 year ago | |
csv | ||
doctor | 1 year ago | |
emoji | ||
eventsource | 1 year ago | |
generate | ||
git | 1 year ago | |
gitgraph | 1 year ago | |
graceful | 1 year ago | |
hcaptcha | ||
highlight | ||
hostmatcher | 1 year ago | |
html | ||
httpcache | ||
httplib | ||
indexer | 1 year ago | |
issue/template | ||
json | ||
label | ||
lfs | 1 year ago | |
log | ||
markup | 1 year ago | |
mcaptcha | ||
metrics | ||
migration | ||
nosql | ||
options | ||
packages | 1 year ago | |
paginator | ||
pprof | ||
private | ||
process | 1 year ago | |
proxy | ||
proxyprotocol | ||
public | ||
queue | 1 year ago | |
recaptcha | ||
references | ||
regexplru | ||
repository | 1 year ago | |
secret | ||
session | 1 year ago | |
setting | 1 year ago | |
sitemap | ||
ssh | 1 year ago | |
storage | ||
structs | 1 year ago | |
svg | ||
sync | ||
system | 1 year ago | |
templates | 1 year ago | |
test | ||
testlogger | ||
timeutil | ||
translation | ||
turnstile | ||
typesniffer | ||
updatechecker | 1 year ago | |
upload | ||
uri | ||
user | ||
util | 1 year ago | |
validation | ||
web | 1 year ago | |
webhook |