Commit Graph

22 Commits (main)

Author SHA1 Message Date
Jan Dittberner 56ff01600f Improve consent handling
- hide client logo if there is no logo URI
- hide client information link if there is no client URI
- use buttons instead of a checkbox for consent
- use Markdown for messages
9 months ago
Jan Dittberner 73735d47b6 Release 0.3.0 9 months ago
Jan Dittberner 44e18ca3a5 Implement consent management
The primary change in this commit is the introduction of consent management.

A few minor improvements have been made:

- move common header to ui/templates/base.gohtml
- add an I18NService to unify localization
- add a handlers.getLocalizer function
- fix translation extraction and merging in Makefile
- add a new AuthMiddleware to centralize client certificate authentication
- move client certificate handling to internal/handlers/security.go
- improver error handling, allow localization of HTTP error messages
9 months ago
Jan Dittberner 679dcb27ce Adapt to Hydra 2.x
- use new SDK package
- add session to transport user information from login to consent
10 months ago
Jan Dittberner cdb7257f7e Release 0.2.1 10 months ago
Jan Dittberner e2de4243a9 Enforce email address selection
This commit makes sure that an email address is selected when the user
presents a client certificate with multiple email addresses.
10 months ago
Jan Dittberner 55530d23e4 Improve login page
- improve formatting of login page
- improve german translation of message that is shown if a certificate with multiple
  email addresses is used
10 months ago
Jan Dittberner 88770be967 Release 0.2.0 10 months ago
Jan Dittberner 79ab816489 Implement rendering of authorization server errors 10 months ago
Jan Dittberner 63e3333c4d Rename module to match Git repository URL 10 months ago
Jan Dittberner cb7a3a8fa5 Re-order configuration precedence 10 months ago
Jan Dittberner 3f76ff4d48 Run deb-systemd-helper in postinst 10 months ago
Jan Dittberner ef05d12fbb Update dependencies 10 months ago
Jan Dittberner 26bfcc225e Improve logging
- switch to structured logging
- use JSON formatter
- support log level and formatter configuration
10 months ago
Jan Dittberner d23290b13b Move default configuration 10 months 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
10 months ago
Jan Dittberner ab2e3c33b5 Implement logout-successful handler 10 months ago
Jan Dittberner dd2ef9aa9e Fix conf parameter name 10 months ago
Jan Dittberner ff8ec8a8c5 Release 0.1.2
- fix path to cacert-idp binary
10 months ago
Jan Dittberner 8824e6a452 Release 0.1.0
Hotfix for systemd service unit
10 months ago
Jan Dittberner a2f944dd9f Release 0.1.0 10 months 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
10 months ago