forgejo/vendor/github.com
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507)
* Simplify Gothic to use our session store instead of creating a different store

We have been using xormstore to provide a separate session store for our OAuth2 logins
however, this relies on using gorilla context and some doubling of our session storing.
We can however, simplify and simply use our own chi-based session store. Thus removing
a cookie and some of the weirdness with missing contexts.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle MaxTokenLength

Signed-off-by: Andrew Thornton <art27@cantab.net>

* oops

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-11-03 08:33:54 +08:00
..
acomagu/bufpipe
alecthomas/chroma
andybalholm
anmitsu/go-shlex
asaskevich/govalidator
aymerick/douceur
Azure/go-ntlmssp
beorn7/perks
bits-and-blooms/bitset
blevesearch
boombuler/barcode
bradfitz/gomemcache
caddyserver/certmagic
cespare/xxhash/v2
chi-middleware/proxy
couchbase
cpuguy83/go-md2man/v2
danwakefield/fnmatch
davecgh/go-spew
denisenkom/go-mssqldb
dgryski/go-rendezvous
djherbis
dlclark/regexp2
dsnet/compress
dustin/go-humanize
editorconfig/editorconfig-core-go/v2
emirpasic/gods
ethantkoenig/rupture
felixge/httpsnoop
fsnotify/fsnotify
gliderlabs/ssh
go-asn1-ber/asn1-ber
go-chi
go-enry
go-git
go-ldap/ldap/v3
go-openapi
go-redis/redis/v8
go-sql-driver/mysql
go-stack/stack
go-swagger/go-swagger
go-testfixtures/testfixtures/v3
gobwas/glob
goccy/go-json
gogs
golang
golang-jwt/jwt
golang-sql/civil
google
gorilla
hashicorp
huandu/xstrings
imdario/mergo
issue9/identicon
jaytaylor/html2text
jbenet/go-context
jessevdk/go-flags
josharian/intern
json-iterator/go
kballard/go-shellquote
kevinburke/ssh_config
keybase/go-crypto
klauspost
kr
lib/pq
libdns/libdns
lunny/dingtalk_webhook
magiconair/properties
mailru/easyjson
markbates
mattn
matttproud/golang_protobuf_extensions
mholt
microcosm-cc/bluemonday
Microsoft/go-winio
miekg/dns
minio
mitchellh
modern-go
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize
niklasfasching/go-org
nwaples/rardecode
NYTimes/gziphandler
oklog/ulid
olekukonko/tablewriter
oliamb/cutter
olivere/elastic/v7
pelletier/go-toml
pierrec/lz4/v4
pkg/errors
pmezard/go-difflib
pquerna/otp
prometheus
ProtonMail/go-crypto
PuerkitoBio
quasoft/websspi
rivo/uniseg
RoaringBitmap/roaring
rs/xid
russross/blackfriday/v2
sergi/go-diff
shurcooL
sirupsen/logrus
spf13
ssor/bom
steveyen/gtreap
stretchr/testify
subosito/gotenv
syndtr/goleveldb
toqueteos/webbrowser
tstranex/u2f
ulikunitz/xz
unknwon
unrolled/render
urfave/cli
xanzy
xi2/xz
yohcop/openid-go
yuin