bigpresh / bigpresh/Bot-BasicBot-Pluggable-Module-GitHub

Support auth via OAuth or personal access tokens

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Perl
星标
11
派生
5
PR 合并指标
30 天内没有已合并 PR

描述

We used to use GitHub's tokens, but they seemed to have withdrawn them.

Checking their docs now, though, it seems you can create "personal access tokens" via https://github.com/settings/tokens/new which can be used in basic HTTP auth in place of a username and password: https://github.com/blog/1509-personal-api-tokens

So, if that still works, we should change the documentation to suggest creating a token (and listing the minimum access requirements - at a cursory glance it would appear the minimum we require is:

repo, public_repo, repo:status, read:repo_hook, write:repo_hook

Looks like this should be easier than I thought - it provides a way to avoid dealing with the horrible hell-spawned clusterfuck that is OAuth, which is kinda nasty for web apps and next to useless for non-webapps.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。