awslabs / ssosync

Populate AWS SSO directly with your G Suite users and groups using either a CLI or AWS Lambda
Apache License 2.0
528 stars 182 forks source link

Bug: "index out of range [0] with length 0" #76

Closed bkmeneguello closed 2 years ago

bkmeneguello commented 2 years ago

When this call of GetUsers returns an empty list in getGoogleGroupsAndUsers, the index out of range [0] with length 0 error occurs here.

Smana commented 2 years ago

I've the exact same error, is there a workaround?

bkmeneguello commented 2 years ago

Yes, my PR #78

christiangda commented 2 years ago

check it: https://github.com/slashdevops/idp-scim-sync

Smana commented 2 years ago

thanks @bkmeneguello , I confirmed that worked :)

Smana commented 2 years ago

thanks for sharing @christiangda but it seems that your tool is only usable with lambda. I prefer to avoid that for the moment.

christiangda commented 2 years ago

@Smana this is available like a lambda, cli and container.

Smana commented 2 years ago

I'll test it too, thanks for letting me know @christiangda

enricopesce commented 2 years ago

Is it the project died? Why this PR is not merged?