latestOpenAPI 3.0.02026-08-2086102148.5 KB

5fc4757128af

Users Me

Exchange a WorkOS OAuth code and persist the GitHub link on the session user

post/v1/users/me/link-github

Request body

codestring required

Authorization code returned by WorkOS to /connections/callback.

Response

status'linked' | 'pending_verification' required
githubUserIdstring nullable required
githubUsernamestring nullable required
pendingAuthenticationTokenstring nullable required