Access Token and Install ID Retrieval for GitHub App #56213
Replies: 2 comments
-
Welcome to the GitHub Community, @Nmnjainsite, we're happy you're here! You are more likely to get a useful response if you are posting your question(s) in the applicable category and are explicit about what your project entails--giving a few more details might help someone give you a nudge in the right direction. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hello,
I hope this message finds you well. I am reaching out to seek your guidance and assistance regarding the retrieval of an access token and installation ID immediately after installing a GitHub App.
Currently, I am utilizing GitHub's Install API to obtain user repository information. Although I can successfully acquire this data through a webhook, this approach proves to be suboptimal for my requirements. I am interested in making direct API calls to fetch the necessary data. To achieve this, I need to obtain both an access token and an install ID.
Presently, I am utilizing GitHub OAuth to obtain the access token. However, this introduces an additional layer of authentication in my application, which is not an ideal solution for my use case. Furthermore, retrieving the install ID from the address bar leads to the creation of unnecessary bugs within my application.
I would greatly appreciate your guidance on how I can obtain the access token and install ID immediately after the GitHub App installation process. This would significantly enhance the efficiency and effectiveness of my application.
Thank you in advance for your assistance and support. I look forward to hearing your valuable insights and recommendations.
Best regards,
Naman
Beta Was this translation helpful? Give feedback.
All reactions