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>
2025-01-27 02:07:39 +00:00
..
source Fix various trivial problems (#32861) 2024-12-17 01:15:18 +00:00
auth_test.go Add basic auth support to rss/atom feeds (#33371) 2025-01-27 02:07:39 +00:00
auth_token_test.go Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00
auth_token.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
auth.go Add basic auth support to rss/atom feeds (#33371) 2025-01-27 02:07:39 +00:00
basic.go Add basic auth support to rss/atom feeds (#33371) 2025-01-27 02:07:39 +00:00
group.go Remove Named interface (#26913) 2023-09-05 15:58:30 +00:00
httpsign.go Remove SHA1 for support for ssh rsa signing (#31857) 2024-09-07 18:05:18 -04:00
interface.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
main_test.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
oauth2_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
oauth2.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
reverseproxy.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
session.go Fix the bug that user may logout if he switch pages too fast (#29962) 2024-03-21 08:48:08 +00:00
signin.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
source.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
sspi.go Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
sspiauth_posix.go Make SSPI auth mockable (#27036) 2023-09-17 23:32:56 +00:00
sspiauth_windows.go Make SSPI auth mockable (#27036) 2023-09-17 23:32:56 +00:00
sync.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00