Skip to content

ExternalIdentityAuthService

Chatto exposes this service below /api/connect.

Shared message and enum definitions are documented in Shared Types And Enums.

Public external identity authentication operations.

Reads safe metadata for a pending create/link flow. This public RPC requires a valid pending-flow capability token and returns NOT_FOUND when the token is unknown or expired.

POST /api/connect/chatto.auth.v1.ExternalIdentityAuthService/GetPendingExternalIdentity

Request to inspect a pending external identity flow.

FieldTypeDescription
tokenstringRaw pending flow token from the provider callback redirect.

Result: GetPendingExternalIdentityResponse

Section titled “Result: GetPendingExternalIdentityResponse”

Result of inspecting a pending external identity flow.

FieldTypeDescription
pendingPendingExternalIdentityPending flow metadata.

Creates a passwordless account from a pending provider identity. This public RPC requires a valid create-flow capability token.

POST /api/connect/chatto.auth.v1.ExternalIdentityAuthService/CreateExternalIdentityAccount

Input: CreateExternalIdentityAccountRequest

Section titled “Input: CreateExternalIdentityAccountRequest”

Request to create a new passwordless account from a pending provider identity.

FieldTypeDescription
tokenstringRaw pending create token from the provider callback redirect.
loginstringDesired username.

Result: CreateExternalIdentityAccountResponse

Section titled “Result: CreateExternalIdentityAccountResponse”

Result of creating an account from a pending provider identity.

FieldTypeDescription
user_idstringNewly created user ID.
loginstringNewly created username.
tokenstringBearer token for the new session.

Links a provider identity using a pending link-flow capability token. This public RPC requires a valid link-flow capability token.

POST /api/connect/chatto.auth.v1.ExternalIdentityAuthService/ConfirmExternalIdentityLink

Request to confirm a pending provider link using the flow capability token.

FieldTypeDescription
tokenstringRaw pending link token from the provider callback redirect.

Result: ConfirmExternalIdentityLinkResponse

Section titled “Result: ConfirmExternalIdentityLinkResponse”

Result of confirming a provider identity link.

FieldTypeDescription
linked_identitychatto.api.v1.LinkedExternalIdentityLinked identity metadata.

Cancels a pending provider identity flow. This public RPC requires a valid pending-flow capability token.

POST /api/connect/chatto.auth.v1.ExternalIdentityAuthService/CancelExternalIdentityFlow

Request to cancel a pending external identity flow.

FieldTypeDescription
tokenstringRaw pending flow token.

Result: CancelExternalIdentityFlowResponse

Section titled “Result: CancelExternalIdentityFlowResponse”

Result of cancelling a pending external identity flow.

FieldTypeDescription
cancelledboolTrue when a pending flow was removed or already absent.