v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-github

Connect Github

Store GitHub credentials after successful OAuth flow.

Called by frontend after Supabase linkIdentity() or initial OAuth login. The access_token is received from Supabase's session as provider_token.

Body: access_token: GitHub OAuth access token (from provider_token) scopes: List of OAuth scopes granted (e.g., ['repo', 'user:email'])

post/v1/user/github/connect

Request body

access_tokenstring required
scopesstring[]

Response

Successful Response

successboolean required
github_usernamestring required
github_user_idstring required
messagestring required