Solution for Getting user id/token from Google Workspace calendar add-on
is Given Below:
I am in the process of creating a Google Workspace calendar add-on for conferencing. The Appscript for the add-on itself has required oauth scopes to access calendar events and is associated to a project in Google Cloud Platform – but when I go to create the create the conference in my API I am getting the event id, but no other information about the user creating it.
Is there something I need to change/adjust in my Appscript or GCP project so when the add-on is initially authorized that I can get the user info posted to my API or can pull that information when I go to create the conference when the event is created?
I’m using the add-on example here: https://developers.google.com/workspace/add-ons/calendar/conferencing/conferencing-sample