zitadel-oidc/example/server/exampleop
Tim Möhlmann 0879c88399
feat: add slog logging (#432)
* feat(op): user slog for logging

integrate with golang.org/x/exp/slog for logging.
provide a middleware for request scoped logging.

BREAKING CHANGES:

1. OpenIDProvider and sub-interfaces get a Logger()
method to return the configured logger;
2. AuthRequestError now takes the complete Authorizer,
instead of only the encoder. So that it may use its Logger() method.
3. RequestError now takes a Logger as argument.

* use zitadel/logging

* finish op and testing
without middleware for now

* minimum go version 1.19

* update go mod

* log value testing only on go 1.20 or later

* finish the RP and example

* ping logging release
2023-08-29 14:07:45 +02:00
..
templates implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
device.go chore: cleanup unneeded device storage methods (#399) 2023-05-26 10:06:33 +02:00
login.go chore: replace gorilla/mux with go-chi/chi (#332) 2023-03-17 16:36:02 +01:00
op.go feat: add slog logging (#432) 2023-08-29 14:07:45 +02:00
templates.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00