quick-megabyte-61846
05/08/2023, 5:10 PM0.2.161
Recently we updated the application with Azure AD SSO and created a permission model based on groups uuid from Azure which is pulled from Azure AD while logging into DataHub and here problem araised not every group is being synced with DataHub from Azure AD (only groups with the specific prefix are being pulled to DataHub from AD)
I’ve tried to search through docs and check If there is any variable to specify regex for groups but there is nothing or I didn’t catch that
<https://github.com/datahub-project/datahub/blob/master/datahub-frontend/conf/application.conf#L156>
<https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react/#user--group-provisioning-jit-provisioning>
<https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-azure/>
Our config
datahub-frontend:
extraEnvs:
- name: AUTH_OIDC_JIT_PROVISIONING_ENABLED
value: "true"
- name: AUTH_OIDC_EXTRACT_GROUPS_ENABLED
value: "true"
- name: AUTH_OIDC_GROUPS_CLAIM
value: "groups"
- name: AUTH_JAAS_ENABLED
value: "true"
oidcAuthentication:
enabled: true
provider: azure
clientId: change_me
azureTenantId: change_me
clientSecretRef:
secretRef: "change_me"
secretKey: "change_me"
I know that we can accomplish this somehow using this https://datahubproject.io/docs/generated/ingestion/sources/azure-ad but I wanted to ask if is there any chance to pull all groups to DataHub with Azure Ad provider rather than using an additional recipe for this
My idea was to look for regex for groups and permissions in OIDC attributes/applications to access a wider list of groups?
Or maybe there is the limitation that only a few groups are being pulled while logging and we cannot overcome this?lively-cat-88289
05/08/2023, 5:11 PMastonishing-answer-96712
05/16/2023, 9:13 PMastonishing-answer-96712
05/16/2023, 9:14 PMquick-megabyte-61846
05/18/2023, 7:39 AM