mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-20 08:27:49 +02:00
- Formalize support for different logout strategies and add the fallback strategy. - Generate the logout URL at logout time in preparation for supporting dynamic logout requests (as needed by token revocation). - Secure the connection to the mock OpenID Connect provider with a self-signed TLS certificate. - Allow self-signed certificates for HTTPS connections to localhost (same policy as elsewhere in Krill). - Upgrade openidconnect-rs to latest v2.0.0 alpha to gain contributed support for OAuth 2.0 Token Revocation. (#385 and #397) - Use reqwest 0.9.x directly instead of via the openidconnect-rs crate (we cannot use the v0.11.x reqwest that comes with the crate as (a) it doesn't permit self-signed certificates, (b) the blocking implementation was changed to be async which causes problems when inside an existing async runtime, and (c) switching the OpenID Connect client code over to be async is non-trivial - see #428). - Pass the ID token as `id_token_hint` to the OpenID Connect RP-Initiated Logout 1.0 endpoint. (#408) - Refined logic for the various logout mechanism permutations. (#425). - Require OpenID Connection RP-Initiated Logout 1.0 and OAuth 2.0 Token Revocation endpoints to be HTTPS per the specs. - Passes manual testing with Microsoft Azure Active Directory RP-Initiated Logout support and Google Compute Cloud OAuth 2.0 Token Revocation support. - Added a Google Cloud Platform example to the comments in the default config file. - Updated and added tests. - Fixed logout and token revocation in the mock OpenID Connect provider to actually terminate login sessions. - Handle a race condition in Lagosta where null user data was accessed that was just deleted due to logout. - Handle errors from the Krill logout endpoint in Lagosta.