Files
multica/server/pkg/openconnector/testdata/oauth_configs_put_github.json
klinsmayaandClaude Fable 5.1 f23926b2d6 feat(server): add open-connector admin API client
Standalone SDK for a self-hosted open-connector instance: provider
catalog and setup, OAuth client configs, OAuth and API-key connection
flows, connection deletion, and runtime token management. Responses
are unwrapped per path family (/v1 envelope vs bare /api JSON); secrets
in returned structs are redacted from String, GoString and slog output.
Tests replay recorded responses from a real instance.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XqqpKySn2iWtXriK3Gsgak
2026-10-20 17:13:24 +00:00

1 line
1.4 KiB
JSON

{"service":"github","configured":true,"customClientAvailable":false,"clientId":"fake-client-id","expectedRedirectUri":"http://127.0.0.1:3000/oauth/callback","redirectUri":null,"missingFields":[],"auth":{"type":"oauth2","authorizationUrl":"https://github.com/login/oauth/authorize","tokenUrl":"https://github.com/login/oauth/access_token","scopes":["read:user","user:email","repo","workflow","delete_repo"],"authorizationOptions":[{"id":"read:user","label":"Account profile","description":"Identify the connected GitHub account.","required":true,"defaultSelected":true,"risk":"standard"},{"id":"repo","label":"Repositories","description":"Read and modify public and private repositories.","required":false,"defaultSelected":true,"risk":"sensitive"},{"id":"user:email","label":"Email addresses","description":"Read the account's email addresses.","required":false,"defaultSelected":false,"risk":"sensitive"},{"id":"workflow","label":"Workflows","description":"Update GitHub Actions workflow files.","required":false,"defaultSelected":false,"risk":"sensitive","requires":["repo"]},{"id":"delete_repo","label":"Delete repositories","description":"Permanently delete repositories.","required":false,"defaultSelected":false,"risk":"destructive"}],"tokenEndpointAuthMethod":"client_secret_post"},"requestedScopes":null,"effectiveScopes":["read:user","user:email","repo","workflow","delete_repo"],"extra":{}}