Jan Dittberner
f3be6959ab
Extract configureAdminClient function
1 year ago
Jan Dittberner
4618ebfe10
Fix golangci-lint warning
1 year ago
Jan Dittberner
3f76ff4d48
Run deb-systemd-helper in postinst
1 year ago
Jan Dittberner
ef05d12fbb
Update dependencies
1 year ago
Jan Dittberner
26bfcc225e
Improve logging
...
- switch to structured logging
- use JSON formatter
- support log level and formatter configuration
1 year ago
Jan Dittberner
d23290b13b
Move default configuration
1 year ago
Jan Dittberner
c727bc39d7
Minor documentation and code improvements
...
- fix name of certificate in README
- avoid unneeded variable declaration in internal/services/i18n.go
1 year ago
Jan Dittberner
9821d34939
Improve documentation and defaults
...
- recommend `mkcert` to generate certificates for local development
- change default configuration to use files recommended in README.md
- separate server name and bind address to allow binding to a local address
but publish a different public name
1 year ago
Jan Dittberner
ab2e3c33b5
Implement logout-successful handler
1 year ago
Jan Dittberner
dd2ef9aa9e
Fix conf parameter name
1 year ago
Jan Dittberner
ff8ec8a8c5
Release 0.1.2
...
- fix path to cacert-idp binary
1 year ago
Jan Dittberner
8824e6a452
Release 0.1.0
...
Hotfix for systemd service unit
1 year ago
Jan Dittberner
a2f944dd9f
Release 0.1.0
1 year ago
Jan Dittberner
d74503165e
Add build info output at application start
1 year ago
Jan Dittberner
4e9042ef55
Merge pull request 'improve-for-first-release' ( #1 ) from improve-for-first-release into main
...
Reviewed-on: #1
1 year ago
Jan Dittberner
fe1914fd89
Move Markdown parsing to i18n service
1 year ago
Jan Dittberner
b0daaf956f
Add handling of invalid login challenge
1 year ago
Jan Dittberner
0b59ad9fd4
Add packaging configuration
...
- add gorelease config
- add commented example configuration
- add service file and postinst script
- rename cmd/idp.go to cmd/idp/main.go
1 year ago
Jan Dittberner
16a3dbedc8
Small IDP refactoring
...
- move internal code to internal directory
- add translations for texts on missing email in client certificate page
- add error handling for missing login_challenge request parameter
- add Markdown support via goldmark
- use https:// URLs in Apache license headers
1 year ago
Jan Dittberner
9fad7ef3a6
Embed translation bundle into binary
1 year ago
Jan Dittberner
2c82ccb324
Fix linter warnings, modernize code
1 year ago
Jan Dittberner
e828b30b21
Add linting support
...
- add lint target in Makefile
- add golangci-lint configuration
1 year ago
Jan Dittberner
796f8cf16d
Add Apache License 2.0 text
1 year ago
Jan Dittberner
bda6cf39c3
Update dependencies
...
- update to Go 1.19
- update dependencies in go.mod/go.sum
1 year ago
Jan Dittberner
2ccbb5dd10
Bump copyright year
2 years ago
Jan Dittberner
311f4105d6
Update instructions for go 1.16+
2 years ago
Jan Dittberner
695f5cae6b
Use embed.fs for self-contained build
2 years ago
Jan Dittberner
0effaaa586
Use CGO_ENABLED=0 for static binary
2 years ago
Jan Dittberner
2affaa2150
Add Makefile
...
This commit adds a Makefile to automate the steps required to build the
cacert-idp binary.
2 years ago
Jan Dittberner
26447f99c9
Extract startServer method from main()
3 years ago
Jan Dittberner
88bfe0a5df
Initial IDP version
...
- copied/stripped down from
https://git.dittberner.info/jan/hydra_oidc_poc
3 years ago
Jan Dittberner
721dbc7e65
Add basic project information
3 years ago