Skip to main content

Posts

Showing posts from June, 2021

Google Service Migration

I recently published an entry where I had gotten back in to understanding how awesome the Google Script was.  I was doing a routine check to see if the script was running in good health and as it turns out, I discovered that the methods used in the ContactsApp were being deprecated - advising to switch to the People API . So, this is just a short journal entry to say I have now updated the repository using this service.  Works much the same, just links the contact to the group slightly differently.  Comments and suggestions always welcome!

Getting all deltas from Auth0

Before I get in to the solution of this article, let me tell you how it started and fill you in on the problem that arose.  I wrote a procedure to get daily deltas of users - those of which who had created/updated their account on the given day (and including the day before for good measure on the GMT timestamp).  The simple search criteria was just the following: updated_at:[yyyy-mm-dd TO yyyy-mm-dd] Simple, right?  the []'s being the dates are inclusive, while using {} would mean exclusively.  Auth0 lets you mix these on either side depending on your use.  While this is all well and good, Auth0 will limit the number of results (even with paging) to 1000 only. So, your first option is that you could have your procedure create a user export job, and then parsing through the results and eliminating those which do not meet your updated_at search criteria.  I can tell you first hand that eventually the amount of users will just get to be too much and cumbersome to process through