Authentication

OAuth callback for a provider

Changed on

The provider redirects here with code+state after the member consents. The signed state token names the organization and member, since the redirect may arrive in a fresh browser context. The code is exchanged only for the person who started the connection: a browser signed in to OpenWork as someone else is refused, and a browser with no OpenWork session is first shown the account the connection belongs to and must confirm. Serves a small static HTML page that deep-links back to OpenWork.

get/v1/oauth-providers/{providerId}/connect/callback

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    none required

Path parameters

providerId, string required

Response

Connected, or a confirmation page naming the account before anything is exchanged.

Changes

    • info

      added the non-success response with the status

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400