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.
11 months ago
Jan Dittberner
0a4cc75bd3
HTML improvements
...
- link from logo to start page
- move common page header to templates/base.gohtml
11 months ago
Jan Dittberner
9ad06a2935
Improve token handling
...
- add identity information to the index page
- let the session expire when the token expires
11 months ago
Jan Dittberner
bc35b0984f
Release 0.2.0
11 months ago
Jan Dittberner
f35a59e59c
Re-order configuration precedence
11 months ago
Jan Dittberner
4a50b42067
Fix golangci-lint warning
11 months ago
Jan Dittberner
4339baee85
Fix logged application name
11 months ago
Jan Dittberner
269339ced4
Release 0.1.0
...
- initial release
11 months ago
Jan Dittberner
230c2488a6
Update Copyright in README.md
11 months ago
Jan Dittberner
1b0c4a7470
Use structured logging consistently
11 months ago
Jan Dittberner
21c2411cf5
Add packaging via goreleaser
11 months ago
Jan Dittberner
c6177c4d18
Add support for JSON logging
11 months ago
Jan Dittberner
43f32731f6
Move internal packages
11 months 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
11 months ago
Jan Dittberner
f980c1acc3
Update instructions vor Go 1.16+
2 years ago
Jan Dittberner
294f2372e1
Ignore PEM files
2 years ago
Jan Dittberner
9f7b8ec5a7
Add Makefile
...
This commit adds a Makefile to automate application builds.
2 years ago
Jan Dittberner
c69e8d2980
Fix useless err parameter
2 years ago
Jan Dittberner
ff4396e6b1
Extract session setup into function
3 years ago
Jan Dittberner
3bb3b2db0c
Initial OIDC resource app
...
- copied/stripped down from
https://git.dittberner.info/jan/hydra_oidc_poc
3 years ago
Jan Dittberner
4b852dee3f
Basic project setup
3 years ago