You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Update credentials schema so that one of GH_APP_PRIVATE_KEY or GH_TOKEN is provided.
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.
The text was updated successfully, but these errors were encountered:
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
contentsgarten/packages/contentsgarten/src/ContentsgartenUserConfig.ts
Lines 9 to 18 in aebab74
auth: GitHubAppAuthUserConfig | GitHubPersonalAccessTokenAuthUserConfig
GitHubPersonalAccessTokenAuthUserConfig
interface withtoken: string
contentsgarten/wiki.creatorsgarten.org/src/pages/api/contentsgarten/[action].ts
Lines 10 to 22 in aebab74
credentials
schema so that one ofGH_APP_PRIVATE_KEY
orGH_TOKEN
is provided.If you use
gh
CLI, you can usegh auth status --show-token
to get your own GitHub token. Alternatively you can go to https://github.com/settings/tokens to create new token.The text was updated successfully, but these errors were encountered: