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

Changes

No recorded changes to this endpoint across all 3 revisions of this API.