This fixes the issue on the beta instance where users would not be created in the database. After checking logs, I found that the issue was due to the tokens property being required but no value defined for it. This PR makes that property optional and updates other functions to work with the optional value.
This PR is currently deployed to the beta instance and all users were properly synced with Google Admin. I still don't know why it only happened on beta though.
This fixes the issue on the beta instance where users would not be created in the database. After checking logs, I found that the issue was due to the
tokens
property being required but no value defined for it. This PR makes that property optional and updates other functions to work with the optional value.This PR is currently deployed to the beta instance and all users were properly synced with Google Admin. I still don't know why it only happened on beta though.