mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 16:27:18 +02:00
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>
23 lines
718 B
YAML
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
|