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.
gitea/services/auth
Wesley van Tilburg c79adf00b8
Add basic auth support to rss/atom feeds (#33371)
Allows RSS readers to access private feeds using their basic auth
capabilities. Not all clients feature the ability to add cookies or
headers.

fixes #32458 

Tested with miniflux

no credentials:

![image](https://github.com/user-attachments/assets/8c3369f2-1cf6-4ce3-ac6e-84447e454928)


basic auth entered:

![image](https://github.com/user-attachments/assets/c93ff22c-1429-4a80-898f-91d9f35c7c61)

![image](https://github.com/user-attachments/assets/60d83afd-9dde-4973-a440-ff8138799e87)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
4 days ago
..
source Fix various trivial problems (#32861) 2 months ago
auth.go Add basic auth support to rss/atom feeds (#33371) 4 days ago
auth_test.go Add basic auth support to rss/atom feeds (#33371) 4 days ago
auth_token.go Enhanced auth token / remember me (#27606) 1 year ago
auth_token_test.go Refactor timeutil package (#28623) 1 year ago
basic.go Add basic auth support to rss/atom feeds (#33371) 4 days ago
group.go Remove `Named` interface (#26913) 1 year ago
httpsign.go Remove SHA1 for support for ssh rsa signing (#31857) 5 months ago
interface.go Refactor request context (#32956) 1 month ago
main_test.go Enhanced auth token / remember me (#27606) 1 year ago
oauth2.go Refactor context flash msg and global variables (#33375) 6 days ago
oauth2_test.go Refactor request context (#32956) 1 month ago
reverseproxy.go Refactor context flash msg and global variables (#33375) 6 days ago
session.go Fix the bug that user may logout if he switch pages too fast (#29962) 11 months ago
signin.go remove util.OptionalBool and related functions (#29513) 11 months ago
source.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
sspi.go Refactor context flash msg and global variables (#33375) 6 days ago
sspiauth_posix.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_windows.go Make SSPI auth mockable (#27036) 1 year ago
sync.go Use db.Find instead of writing methods for every object (#28084) 1 year ago