GitHub OAuth - Handle Callback
Authentication
GitHub OAuth - Handle Callback
Complete GitHub OAuth authentication with the authorization code.
POST
GitHub OAuth - Handle Callback
Documentation Index
Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
No authentication required.Body Parameters
Authorization code from GitHub.
State parameter for CSRF protection.
Example Request
Response
Response Fields
JWT token for authenticated requests.
User profile information.
Whether this is a new account created via OAuth.
Status Codes
| Code | Description |
|---|---|
200 | Authentication successful |
400 | Invalid request (missing code, invalid state) |
401 | OAuth authentication failed |
Notes
- OAuth users don’t need to verify their email separately
- If a user with the same email already exists (registered via email/password), the accounts are linked
- The
isNewUserfield indicates whether a new account was created or an existing one was used

