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.
@UserUnleash — I am checking with the team internally and will get back to you as soon as possible. Thanks for your patience!
@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.
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?
I am wondering if there is any information, regarding the question I’ve made?
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)
@Andrew O'Driscoll, you did not mention me for the reply but I suppose it was meant for me.
Yes, correct I am trying to access the API using the oAuth method.
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.
In order to be able to know the owner of an access token that is received as a result of a successful oAuth flow.
@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)