Keycloak intergation with existing gitlab

After integrating existing GitLab to the Key cloak , the issue that we are facing are previous user roles and projects og gitlab are not getting replicated after login with keycloak . Keycloak is creating new user profiles for each user of existing GitLab so that we are not able to have the sso implemented with existing GitLab configurations