Skip to main content

Hello all! Since we are trying to integrate with the API that Gong is providing, we are interested in being able to identify the user that got oAuth-ed. Is the a way to achieve this? I am looking through the docs for some time now, and might be that I am missing it some where.

In other words said, we want to get the user data for the oAuth-ed user.

Hi there @UserUnleash — I am checking with the team internally and will get back to you as soon as possible. Thanks for your patience! 


Hi @UserUnleash. Thank you for reaching out through the community! 

Gong has an API that allows you to retrieve user information. Here is an extensive article on how OAuth works for Gong Technology Partners along with detailed documentation on our Users API. 


Hello @BridgetFinegan,

Thanks for the reply! However this does not seam to answer the question I opened.

The provided Users API can be used to fetch user data once the ID of the user is available, however when we oAuth the user, we do not receive an ID, which would prevent us from the API execution.

Could it be that I’m missing something?


Hello @BridgetFinegan,

I am wondering if there is any information, regarding the question I’ve made?


@BridgetFinegan it sounds like you are accessing the API using an oAuth method versus an access key and secret, as outlined in this help center article. Is that correct?

If so are you asking to identify the user that was used to oAuth? as in the following section of the article?

“Step 2.1: Use the authorization code flow

As per the OAuth standard, you need to establish a UI component that will lead the user (who must be a technical administrator in Gong) to the Authorization page in Gong at the following URL.”

 

Can you elaborate on why you need the ID, as in the sentence “however when we oAuth the user, we do not receive an ID, which would prevent us from the API execution.”?

 

(Since you using the API you may be interested in next weeks data meetup on extracting data from Gong with a focus on Snowflake)


Hello @Andrew O'Driscoll, you did not mention me for the reply but I suppose it was meant for me.
 

@BridgetFinegan it sounds like you are accessing the API using an oAuth method versus an access key and secret, as outlined in this help center article. Is that correct?

 

Yes, correct I am trying to access the API using the oAuth method.

 

If so are you asking to identify the user that was used to oAuth?

 

The goal is to be able to know what is the user that is going through the flow, and present him back his own personal information as an indication to what account is being oAuth-ed.

 

Can you elaborate on why you need the ID, as in the sentence “however when we oAuth the user, we do not receive an ID, which would prevent us from the API execution.”?

 

In order to be able to know the owner of an access token that is received as a result of a successful oAuth flow.


Hi @UserUnleash. I apologize if I responded through a lens than that of your originally intended question.

It sounds like you are looking for the information provided in the API Section of your developer Gong instance. 

(Log into Gong instance -> Settings -> Ecosystem -> API) 


@Molly Kipnis @Andrew O'Driscoll 

Did this get solved? 

There’s still no way to link the access token provided by OAuth to user or company data.


Hi @UserUnleash did you find a way to achieve this?


Hi @Bhupesh Gaugna,

We don’t currently provide user identification in the oAuth flow. If you could please share the use case for which you’d require this, I’m happy to log your feedback in line with the original request. 


Reply