authentication
Oauth Callback
Handle GitHub OAuth callback.
Exchange authorization code for access token, fetch user info, and create/update user in database.
Returns JWT tokens for authentication.
get/auth/callback
Request
- Base URL: https://api.codeofpaper.com (the document declares no server; this is the origin it was published from)
- URL: https://api.codeofpaper.com/auth/callback
- Auth: none declared
Query parameters
codestring required
Authorization code from GitHub
statestring nullable
State parameter for CSRF protection
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.