Add configuration extension hooks for OIDC
Summary
With #2731 (closed) we made it possible for SAML providers (IDP/SP) to be loaded separately from the main LLNG configuration. This lets us handle the configuration of applications outside of the manager.
It would be nice to do the same for OIDC op/rps (this would be especially useful for configuring RPs for client credential grants)
Design proposition
- Refactor the current code to use accessors to read config in all OIDC/CAS code instead of reading
$self->conf
- Add lazy loading on all requests (direct routes and
run
) based onclient_id
- Add
getOidcConfig
hooks (likegetSamlConfig
)