AgentConnect
Profile

Start linking a social sign-in method

Resolve the provider and report how it must be linked. direct returns an authorization URI Logto built, and the link completes server-side. verified means the connector cannot be driven without a session, so the browser drives it against the Account API and Logto requires an ownership proof.

POST
/v1/me/social-identities/authorization-uri

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/me/social-identities/authorization-uri" \  -H "Content-Type: application/json" \  -d '{    "target": "string",    "state": "stringstringstringstringstringst"  }'
{  "mode": "direct",  "connectorId": "string",  "authorizationUri": "http://example.com"}