go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.37k stars 5.52k forks source link

No way to authenticate for RSS feeds #32458

Open jtracey opened 3 weeks ago

jtracey commented 3 weeks ago

Description

I'm trying to access the RSS feed of a private repo, but there doesn't seem to be a way to do that outside of a session. Neither API access tokens (preferred) nor HTTP basic auth (fallback) work, when I confirmed they do work for other endpoints. The request always tries to redirect to the login page.

Only relevant information in the logs is 303 See Other in 0.2ms @ web/web.go:139(web.registerRoutes.verifyAuthWithOptions) for the GET.

Gitea Version

1.21.11

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Gentoo

How are you running Gitea?

Gentoo gitea package with systemd.

Database

PostgreSQL