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

Support auth via OAuth or personal access tokens

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
11
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no documentation file; begin by checking the repository's current authentication documentation and the linked GitHub token documentation. Done means the docs explain personal access token setup and list the minimum required access scopes, with the supported OAuth option addressed as described by the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
authentication, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.