PAT vs oAuth vs GitHub App #109668
Replies: 2 comments 9 replies
-
|
You should almost always choose a GitHub App over an OAuth app. If you are building an integration/script that is long-lived or is for an organization (as opposed to just doing some quick one-off scripting for personal use), you should choose a GitHub App over a PAT.. Whether your application requires a server depends on your application. If you are listening for webhook events, you'll probably need a server. But, a server isn't required for many other cases. For example, here's an example using a GitHub App for automation in an Actions workflow, and here's an example using a GitHub App to build a CLI (neither of which require a server despite using a GitHub App). |
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback + Question
Body
Hello folks,
Two things:
I find that having duplicate make things harder
Thanks and have a great day guys <3
Beta Was this translation helpful? Give feedback.
All reactions