[Google Calendar 3rd-party conference] Return data from authentication URL ?

27 views
Skip to first unread message

Tiana Lemesle

unread,
Sep 20, 2021, 7:46:51 AM9/20/21
to Google Apps Script Community
Hello,

According to [this page](https://developers.google.com/workspace/add-ons/calendar/conferencing/conferencing-sample#createconf.gs) and [this page](https://developers.google.com/workspace/add-ons/calendar/conferencing/create-conference), authentication in Google Calendar 3rd-party conference is basically done with the following code.

`dataBuilder.setError(ConferenceDataService.newConferenceError().setConferenceErrorType(ConferenceDataService.ConferenceErrorType.AUTHENTICATION).setAuthenticationUrl('MY_AUTH_URL'))`

So, the authentication URL should point to a page which displays a login form, but how to return the success login data back to the calendar add-on ?

I would like to do something like this : `PropertiesService.getUserProperties().setProperty('jwt', jwt)`.
The JWT would be returned by the login form.

Thanks

Olamilekan Ib

unread,
Nov 25, 2021, 9:31:07 AM11/25/21
to Google Apps Script Community

Hi there! Thanks for raising this - I just encountered it now. Did you find a workaround? https://github.com/googleworkspace/apps-script-samples/issues/234 
Reply all
Reply to author
Forward
0 new messages