authentication
authentication
github-oauth2
Github Callback
Handle GitHub OAuth2 callback.
Same flow as Google callback: CSRF validation → token exchange → user info → session creation → cookie → redirect.
get/api/v1/auth/github/callback
Request
- Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://memory.kagura-ai.com/api/v1/auth/github/callback
- Auth: none declared
Query parameters
codestring nullable
GitHub authorization code
statestring nullable
CSRF state token
errorstring nullable
OAuth2 error code (e.g. access_denied) when the user cancels
error_descriptionstring nullable
Human-readable OAuth2 error detail (not reflected)
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.