email
Oauth Callback
Changed onHandle Google OAuth redirect — exchange code, store connection, trigger scan.
Every failure past state verification redirects to the frontend with email_error: the web flow runs this in a popup that only closes itself from the page that redirect lands on, so an exception here would leave the popup showing a bare 500 and the opener waiting forever.
get/email/oauth/callback
Request
- Base URLhttps://stardrift.ai (the document declares no server; this is the origin it was published from)
- URLhttps://stardrift.ai/email/oauth/callback
- Authnone declared
Query parameters
statestring required
codestring nullable
errorstring nullable
Response
Successful Response
unknown required
Changes
- info
added the new optional
queryrequest parametererror - info
the
queryrequest parametercodebecame optional - info
queryrequest parametercodelist-of-types was widened by adding typesnull - info
for the
queryrequest parametercode, the type was generalized fromstringto no type
- info