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

Support auth via OAuth or personal access tokens

Offen
#6 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Perl
Sterne
11
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.