-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while enabling GSuite integration #245
Comments
@skiptomyliu Can you take a look at this GSuite issue when you get a moment? |
the I would still double check that the steps have been completed on your step 3: ("G Suite Domain-Wide Delegation of Authority"). You should have two accounts:
|
Hi @skiptomyliu, thanks for replying. I've made sure to have:
We also tried applying these scopes:
The error we are facing now is the following:
|
Hrmm, I wonder if we mixed up the steps as it appears ordering may be required... https://stackoverflow.com/a/59067603/914941
|
Hi @skiptomyliu, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
We are still blocked by this issue |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi |
Hi, some updates on this:
So it really seems this issue is related to some calls made by Cartography, rather than to a faulty setup? |
Hi, |
Unfortunately no, I had to put on hold the GSuite integration for my use cases 😟 |
Ah man, I wonder what secret sauce we've got going on because this just works™️ on our deployment. @zamirTo1 do you get the same error messages as @marco-lancini? Can you add more details? |
Hi @achantavy |
Yeah can confirm I followed that process as well, and got it working for RBACSync. |
I've documented the approach I took, step-by-step, here: https://www.marcolancini.it/2020/blog-gsuite-domain-delegation/ |
This #1071 does not solve the issue but allow to use an other auth method (OAuth) that can be considered as a workaround. |
Issue: The documentation for setting up the GSuite integration is incomplete and leads towards a
400
errorDescription:
Following the README, I:
After this, Cartography crashes with the following output:
I started troubleshooting this and I found the string
my_customer
is hardcoded incartography/intel/gsuite/api.py
:I decided to replace it with the
customerId
of my GSuite org, and then I faced a403 - Not Authorized
error:I tried to add more scopes to the service account (listed below), but I still get Not Authorized:
Please complete the following information::
801bb58
3.7.5
python:3.7
docker imageThe text was updated successfully, but these errors were encountered: