Open
Description
Right now authentication with GitHub is done via GitHub Apps, which requires an elaborate setup using private keys and stuff. Creating a GitHub App requires a lot of privilege on the organization. This makes it hard for people to contribute to the backend.
Task — Add ability to use Personal Access Token to auth with GitHub.
Recommended starting points
-
- Change
auth: GitHubAppAuthUserConfig | GitHubPersonalAccessTokenAuthUserConfig
- Add
GitHubPersonalAccessTokenAuthUserConfig
interface withtoken: string
- Change
-
- Update
credentials
schema so that one ofGH_APP_PRIVATE_KEY
orGH_TOKEN
is provided.
- Update
If you use gh
CLI, you can use gh auth status --show-token
to get your own GitHub token. Alternatively you can go to https://github.com/settings/tokens to create new token.
Metadata
Metadata
Assignees
Labels
No labels