putty
API ReferenceArtifacts

Zernio's OAuth redirect target

Where Zernio sends the browser after a connect. On success it appends `connected`, `profileId`, `accountId` and `username`; the route records the account on the caller's profile and redirects to the dashboard. On failure it appends `error` and `platform` (plus optional `error_message`, `is_user_fixable`, `reason`, `dashboard_url`, `missing_scopes`, `error_reason`, `platform_error*`). **This route is public**: it is Zernio's server, not the user's browser, that follows the redirect, and there is no session on that request. The caller's identity comes from the `state` Zernio echoed back from the connect URL, and the account id is scoped to the caller's own Zernio profile, so a forged callback can only ever write an account onto the profile whose key created it.

GET
/social/connect/callback

Where Zernio sends the browser after a connect. On success it appends connected, profileId, accountId and username; the route records the account on the caller's profile and redirects to the dashboard. On failure it appends error and platform (plus optional error_message, is_user_fixable, reason, dashboard_url, missing_scopes, error_reason, platform_error*). This route is public: it is Zernio's server, not the user's browser, that follows the redirect, and there is no session on that request. The caller's identity comes from the state Zernio echoed back from the connect URL, and the account id is scoped to the caller's own Zernio profile, so a forged callback can only ever write an account onto the profile whose key created it.

Response Body

text/html

application/json

application/json

curl -X GET "https://example.com/social/connect/callback"
"string"