Credentials
Begin OAuth connect flow
Changed onInitiate the OAuth connect flow for a credential.
Discriminates on the provider's returned challenge: OAuth2 authorization-code providers return an authorize_url for popup redirect; device-flow providers return user_code / verification_uri for the RFC 8628 human step.
post/credentials/{credential_id}/connect
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /credentials/{credential_id}/connect
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)
Path parameters
credential_idstring required
ID of the credential.
Example:cred_6968b39855d91a3561684b32
Request body
Example request
{
"extra": {
"prompt": "consent"
},
"scopes": [
"read_write"
]
}Response
Successful Response
unknown required
Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status
- breaking