815c8e792a
Use oauth2.AuthCodeURL to simplify Authenticate
2023-08-03 23:54:03 +02:00
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.
2023-08-03 16:46:28 +02:00
0a4cc75bd3
HTML improvements
...
- link from logo to start page
- move common page header to templates/base.gohtml
2023-08-03 13:04:10 +02:00
9ad06a2935
Improve token handling
...
- add identity information to the index page
- let the session expire when the token expires
2023-07-30 16:48:26 +02:00
bc35b0984f
Release 0.2.0
2023-07-29 21:57:18 +02:00
f35a59e59c
Re-order configuration precedence
2023-07-29 21:06:26 +02:00
4a50b42067
Fix golangci-lint warning
2023-07-29 20:36:04 +02:00
4339baee85
Fix logged application name
2023-07-29 20:23:55 +02:00
269339ced4
Release 0.1.0
...
- initial release
2023-07-29 18:39:28 +02:00
230c2488a6
Update Copyright in README.md
2023-07-29 18:35:29 +02:00
1b0c4a7470
Use structured logging consistently
2023-07-29 18:34:40 +02:00
21c2411cf5
Add packaging via goreleaser
2023-07-29 18:23:28 +02:00
c6177c4d18
Add support for JSON logging
2023-07-29 17:58:09 +02:00
43f32731f6
Move internal packages
2023-07-29 17:53:26 +02:00
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
2023-07-29 17:46:33 +02:00
f980c1acc3
Update instructions vor Go 1.16+
2022-11-21 17:14:29 +01:00
294f2372e1
Ignore PEM files
2022-08-17 19:52:55 +02:00
9f7b8ec5a7
Add Makefile
...
This commit adds a Makefile to automate application builds.
2022-08-17 19:52:12 +02:00
c69e8d2980
Fix useless err parameter
2022-01-16 14:02:20 +01:00
ff4396e6b1
Extract session setup into function
2021-09-19 19:55:00 +02:00
3bb3b2db0c
Initial OIDC resource app
...
- copied/stripped down from
https://git.dittberner.info/jan/hydra_oidc_poc
2021-09-11 13:37:31 +02:00
4b852dee3f
Basic project setup
2021-09-11 12:16:14 +02:00