Git Connections

Start a git provider connection

Changed on

Starts a first-party dashboard user's git provider connection flow and returns the provider authorization URL. The response also sets a short-lived HttpOnly callback binding cookie tied to the authenticated user through the signed provider state.

post/user/git/connect

Request

  • Base URL: https://api.volcano.dev
  • URL: https://api.volcano.dev/user/git/connect
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

provider'github'

Git provider to connect. Defaults to github.

redirectstring

URL to redirect the browser to after the provider callback completes.

callback_urlstring uri

Same-origin browser callback used to relay provider parameters before completing the connection.

Response

Provider authorization URL

authorization_urlstring required

Changes

    • ○

      added the new optional query request parameter callback_url

    • ▲

      the response's body type changed from no type to object for status

    • ▲

      the response's body type changed from no type to object for status

    • ▲

      the response's body type changed from no type to object for status

    • ▲

      the response's body type changed from no type to object for status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status