how i do this #171270
Replies: 5 comments
-
|
GitHub's API allows read access to both public and private repositories, but the requirements differ. Public repositories can be accessed without authentication, though using a token can help avoid rate limits. Private repositories, on the other hand, require authentication with a personal access token (PAT) or a GitHub App token that includes the proper scope—typically repo. If you try to access a private repository without the correct token or scope, you'll receive a 403 or 404 error. Common issues include missing scopes, using tokens with limited permissions, or hitting rate limits on unauthenticated requests. |
Beta Was this translation helpful? Give feedback.
-
|
@sonu-48390 I recommend updating the title of your post to be more in line what you're asking for help on as you're more likely to generate interest and get a response! |
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.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
The main reason an application requests “write” permission to your GitHub repositories — even if it only claims to read data — is due to how GitHub’s OAuth and API permission scopes are designed. GitHub permissions are granular but grouped. Some scopes that allow reading certain private resources also implicitly include write capabilities, because GitHub does not provide separate “read-only” scopes for every possible API action. 🧠 Detailed Explanation 1.GitHub OAuth Scopes Are Broad 2.Private Repository Access 3.Pro Features & API Requirements 4.Security Considerations |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
What is the reason behind the fact that you need to give permission to write to your repository even if the app only read the data and don't write anything.
I just wanted to use an app, but it requires write access, because pro version require read access to private repositories. But still have write access for no reason
Beta Was this translation helpful? Give feedback.
All reactions