Giter Club home page Giter Club logo

Comments (5)

dalepaul-RL avatar dalepaul-RL commented on June 15, 2024

Edit: This problem can be corrected in this code as a work around. By removing the Fields call in google.go package at line 165 the function will properly paginate. Can there be some kind of option that can be set NOT to use the reduced response feature of Google Data API's?

The problem still exists in the Google API endpoints as described in my submitted issue, but a workaround here would be nice as Google is not responding to this: https://issuetracker.google.com/issues/247106193

from idp-scim-sync.

dalepaul-RL avatar dalepaul-RL commented on June 15, 2024

FIX:
please add "nextPageToken" to the fields list in google.go lines 17-19

	groupsRequiredFields    googleapi.Field = "nextPageToken, groups(id,name,email,etag)"
	membersRequiredFields   googleapi.Field = "nextPageToken, members(id,email,status,type,etag)"
	listUsersRequiredFields googleapi.Field = "nextPageToken, users(id,name,primaryEmail,suspended,etag,emails)"

This will resolve the issue of your program not paginating results from the Google API

from idp-scim-sync.

christiangda avatar christiangda commented on June 15, 2024

Hi @dalepaul-RL sorry for being late here and thank you very much for taking care of this.

I will add the field required soon and I will release a new version.

from idp-scim-sync.

dalepaul-RL avatar dalepaul-RL commented on June 15, 2024

Glad to help, and thank you for getting this corrected in a new version. I look forward to using your app to sync out Identity Center in production soon. Best wishes.

from idp-scim-sync.

christiangda avatar christiangda commented on June 15, 2024

fixed in PR #90

from idp-scim-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.