Jan Dittberner
44e18ca3a5
The primary change in this commit is the introduction of consent management. A few minor improvements have been made: - move common header to ui/templates/base.gohtml - add an I18NService to unify localization - add a handlers.getLocalizer function - fix translation extraction and merging in Makefile - add a new AuthMiddleware to centralize client certificate authentication - move client certificate handling to internal/handlers/security.go - improver error handling, allow localization of HTTP error messages
43 lines
1.5 KiB
Modula-2
43 lines
1.5 KiB
Modula-2
module code.cacert.org/cacert/oidc-idp
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.3.2
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/go-playground/form/v4 v4.2.1
|
|
github.com/gorilla/csrf v1.7.1
|
|
github.com/gorilla/sessions v1.2.1
|
|
github.com/knadh/koanf v1.5.0
|
|
github.com/lestrrat-go/jwx v1.2.26
|
|
github.com/nicksnyder/go-i18n/v2 v2.2.1
|
|
github.com/ory/hydra-client-go/v2 v2.1.1
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/yuin/goldmark v1.5.5
|
|
golang.org/x/text v0.11.0
|
|
)
|
|
|
|
require (
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/gorilla/securecookie v1.1.1 // indirect
|
|
github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect
|
|
github.com/lestrrat-go/blackmagic v1.0.1 // indirect
|
|
github.com/lestrrat-go/httpcc v1.0.1 // indirect
|
|
github.com/lestrrat-go/iter v1.0.2 // indirect
|
|
github.com/lestrrat-go/option v1.0.1 // indirect
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
golang.org/x/crypto v0.11.0 // indirect
|
|
golang.org/x/net v0.13.0 // indirect
|
|
golang.org/x/oauth2 v0.10.0 // indirect
|
|
golang.org/x/sys v0.10.0 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
)
|