8 Commits (815c8e792a5be21c0d4bb71526153b4cd4fea9cb)

Author SHA1 Message Date
Jan Dittberner 815c8e792a Use oauth2.AuthCodeURL to simplify Authenticate 1 year 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.
1 year 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 4339baee85 Fix logged application name 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
Jan Dittberner 25b101afae Modernize demo application
- add linter config and fix golangci-lint warnings
- rename module to match new repository location
- use embedded resources for static assets, templates and translations
- recommend mkcert in README
- require at least Go 1.19
- update and tidy dependencies
- update copyright information
- improve Makefile, add lint and static asset targets
1 year ago