cancel
Showing results for 
Search instead for 
Did you mean: 
NWC_GTW_Admin
Active Contributor

How to handle multiple accounts using GoToWebinar API

We are using GoToWebinar API to download Webinar Data.
Desktop Application developed using vb.net and using the .NET SDK (https://developer.goto.com/guides/SDKs/03_NET-SDK/) related help to connect using OAuth2Api.
We can download data from one GoToWebinar Account by getting the Access Token.

 

--------

clientId = "forAccount1ID"

clientSecrete = "forAccount1Pwd"

var oauth2Api = new OAuth2Api(clientId, clientSecret);

string authUrl = oauth2Api.GetOAuth2AuthorisationUrl();

....

....

--------

/* using a WinForms WebBrowser implementation */

void webBrowser_Navigated(object sender, WebBrowserNavigatedEventArgs e)

{

string responseKey = oauth2Api.GetResponseKey(e.Url); // => " ******** "

var tokenResponse = oauth2Api.GetAccessTokenResponse(responseKey);

var accessToken = tokenResponse.access_token; // => " ******** "

}

--------

 

We are not getting the proper token when we use different clientId for our 2nd Account.
Is there any method to revoke or terminate the earlier OAuth session ?

1 REPLY 1
KateG
GoTo Moderator

Re: How to handle multiple accounts using GoToWebinar API

@NWC_GTW_Admin Hi! Thanks for visiting the GoTo Community.  Please go to developer.goto.com and click Support on the top to request assistance. Thanks. 


Kate is a member of the GoTo Community Care Team.

Was your question answered? Please mark it as an Accepted Solution.
Was a post helpful or informative? Give it a Kudo!


Free new user and admin training