Best way to access private repositories content on NextJS #42474
Replies: 2 comments
-
hey man, if I understood your question correctly, here is the steps I would do if I were you ... GitHub App**: Create a GitHub App and It'll give you the necessary credentials. Your users can then authorize your app to access their private repos. Scopes**: When requesting access, ask for necessary scopes and For reading private repos, you'll need the API Calls**: Once authorized, your app can use the GitHub API to fetch content from private repos. Use libraries like Display**: Show the private repo content on that specific page you mentioned. 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 everyone.
I am building a NextJS application.
The user logins and goes to a specific page.
In that page I want him to connect their github acoount / or install my github app on their repositories, and with that check the content of the private repositories.
What is the best way to do this in NextJS?
Beta Was this translation helpful? Give feedback.
All reactions