pydo.harness.create_provider_connect()
Generated on 6 Nov 2026
from pydo version
v0.45.0
Usage
client.harness.create_provider_connect(
provider="github",
body={
"force_reconnect": False,
},
)Description
Starts, or resumes, the one-time login the team uses so a session can act on a provider. github is the provider served today; any other value returns 501. The body is optional. When the team is already connected, status is success and no URL is returned. Otherwise status is requires_authorization and the response carries the URL, verification code, and poll URL for the interactive step. No token or authorization handle is returned.
Parameters
providerstring requiredExample:
githubProvider key.
githubis the provider served today.force_reconnectboolean optionalExample:
FalseWhen true, start a new login even if the team is already connected.
Request Sample
Response Example
More Information
See /v2/agents/auth/{provider} in the API reference for additional detail on responses, headers, parameters, and more.