Skip to content
Snippets Groups Projects
  1. Jan 15, 2021
    • Richard van der Hoff's avatar
      Store an IdP ID in the OIDC session (#9109) · 4575ad0b
      Richard van der Hoff authored
      Again in preparation for handling more than one OIDC provider, add a new caveat to the macaroon used as an OIDC session cookie, which remembers which OIDC provider we are talking to. In future, when we get a callback, we'll need it to make sure we talk to the right IdP.
      
      As part of this, I'm adding an idp_id and idp_name field to the OIDC configuration object. They aren't yet documented, and we'll just use the old values by default.
      Unverified
      4575ad0b
  2. Jan 04, 2021
    • Richard van der Hoff's avatar
      Combine the SSO Redirect Servlets (#9015) · d2c616a4
      Richard van der Hoff authored
      * Implement CasHandler.handle_redirect_request
      
      ... to make it match OidcHandler and SamlHandler
      
      * Clean up interface for OidcHandler.handle_redirect_request
      
      Make it accept `client_redirect_url=None`.
      
      * Clean up interface for `SamlHandler.handle_redirect_request`
      
      ... bring it into line with CAS and OIDC by making it take a Request parameter,
      move the magic for `client_redirect_url` for UIA into the handler, and fix the
      return type to be a `str` rather than a `bytes`.
      
      * Define a common protocol for SSO auth provider impls
      
      * Give SsoIdentityProvider an ID and register them
      
      * Combine the SSO Redirect servlets
      
      Now that the SsoHandler knows about the identity providers, we can combine the
      various *RedirectServlets into a single implementation which delegates to the
      right IdP.
      
      * changelog
      Unverified
      d2c616a4
Loading