Releasesv0.1.0
Connections

Start consent from the hosted page

POST
/connect/{provider}

The form the page posts. Mints a single-use OAuth state exactly like POST /v1/users/{id}/connections/{provider}, with the session's redirect_uri, and sends the browser to the provider's consent page. The session stays usable until it expires.

Path Parameters

provider*string

Connector slug, see GET /v1/providers.

Request Body

application/x-www-form-urlencoded
  1. body
session*string

The token of the connect session link.

Response Body

To the provider's consent page.

curl -X POST 'http://localhost:8080/connect/withings' \  -H 'Content-Type: application/x-www-form-urlencoded' \  -d 'session=string'
Empty
Edit on GitHub