Files
PaperClipAI/server/oauth-providers/github.yaml
T
DottaandPaperclip 382cb3bede feat(oauth): restack OAuth backbone
Restack the OAuth backend from PR #5584 onto current master for PAP-9233, preserving the provider registry, OAuth routes, refresh worker, resolver integration, tests, and docs.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-12 09:47:09 -05:00

23 lines
718 B
YAML

id: github
displayName: GitHub
iconUrl: https://github.githubassets.com/images/icons/oauth.svg
docUrl: https://docs.paperclip.ai/integrations/github
clientCredentials:
clientIdEnv: GITHUB_OAUTH_CLIENT_ID
clientSecretEnv: GITHUB_OAUTH_CLIENT_SECRET
endpoints:
authorize: https://github.com/login/oauth/authorize
token: https://github.com/login/oauth/access_token
revoke: https://api.github.com/applications/{client_id}/grant
accountInfo: https://api.github.com/user
scopes:
default: [repo, read:user, user:email]
offered: [repo, read:user, user:email, workflow, write:packages]
pkce: required
authMethod: post
responseFormat: json
accountIdField: id
accountLabelField: login
refresh:
supported: false