Commit graph

6 commits

Author SHA1 Message Date
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
2023-08-07 15:15:45 +02:00
679dcb27ce Adapt to Hydra 2.x
- use new SDK package
- add session to transport user information from login to consent
2023-08-03 23:51:57 +02:00
ef05d12fbb Update dependencies 2023-07-29 20:32:46 +02:00
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
2023-07-18 20:37:04 +02:00
bda6cf39c3 Update dependencies
- update to Go 1.19
- update dependencies in go.mod/go.sum
2023-05-13 10:15:22 +02:00
88bfe0a5df Initial IDP version
- copied/stripped down from
  https://git.dittberner.info/jan/hydra_oidc_poc
2021-09-11 13:35:15 +02:00