feat: cookie authentication

use encrypted cookies to authenticate
basic auth feeds. most eReader browsers
don't support basic auth
This commit is contained in:
Evan Buss
2024-07-13 01:55:48 +00:00
parent f4408abeae
commit 4f3948943a
6 changed files with 196 additions and 11 deletions

3
go.mod
View File

@@ -8,8 +8,11 @@ require (
github.com/knadh/koanf/v2 v2.1.1
)
require github.com/gorilla/securecookie v1.1.2 // indirect
require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0
github.com/go-viper/mapstructure/v2 v2.0.0 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/basicflag v1.0.0