Users Me

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

post/v1/users/me/link-github

Request

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 operation across all 4 revisions of this API.