This will give us several benefits over the LDAP based configuration.
For this we will need to configure CAS as an OIDC authentity provider.
https://datahubproject.io/docs/how/auth/sso/configure-oidc-react
In order for this to happen we will need CAS version 6.5 installed as per T305518 first, then for CAS to be configured with OIDC specific configuration:
Tasks IDP test:
- configure OIDC variables in DataHub
- network policy, communication between DataHub and CAS backend
- successfully login to datahub-staging via SSO
- validate that the correct attributes are imported in DataHub (email is correctly imported to the user profile, but groups are not. We might need to review how we handle groups)
Tasks Production:
- Add datahub to idp.yaml
- Add the relevant secrets
(batch, probably one patch handling these)
- Disable JAAS authentication
- Enable oidc auth.
- Change the AUTH_OIDC_DISCOVERY_URI and AUTH_OIDC_BASE_URL to reflect production
- Add the right egress rules for production ie. network policy, communication between DataHub and CAS backend
- successfully login to Datahub production via SSO
- validate that the correct attributes are imported as expected in DataHub
AC:
- DataHub uses OIDC back by our usual backend
- user part of WMF and NDA group can connect
- required user attributes are imported on connection
