11 Commits (main)

Author SHA1 Message Date
Jan Dittberner be15b18259 Fix linter warnings 3 months ago
Jan Dittberner c4724723b6 Switch from logrus to log/slog
Use log/slog from the Go standard library to reduce dependencies.
3 months ago
Jan Dittberner c607cdae94 Update linter, remove copyright years
Git has all history information, copyright years don't provide useful additional information.
3 months ago
Jan Dittberner 815c8e792a Use oauth2.AuthCodeURL to simplify Authenticate 12 months ago
Jan Dittberner 7ec9e393e0 Add separate protected resource page
This commit adds a separate protected resource page to demonstrate how
to selectively require logins.

Add code to improve client performance by providing modification timestamps
and Cache-Control headers for embedded static files.
12 months ago
Jan Dittberner 9ad06a2935 Improve token handling
- add identity information to the index page
- let the session expire when the token expires
1 year ago
Jan Dittberner f35a59e59c Re-order configuration precedence 1 year ago
Jan Dittberner 4a50b42067 Fix golangci-lint warning 1 year ago
Jan Dittberner 1b0c4a7470 Use structured logging consistently 1 year ago
Jan Dittberner c6177c4d18 Add support for JSON logging 1 year ago
Jan Dittberner 43f32731f6 Move internal packages 1 year ago