Skip to main content
GET
/
ee
/
connectors
/
{connector_type}
/
oauth2callback
JavaScript
import Morphik from 'morphik';

const client = new Morphik({
  apiKey: 'My API Key',
});

const response = await client.ee.connectors.handleOAuthCallback('connector_type');

console.log(response);
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Path Parameters

connector_type
string
required

Query Parameters

code
string | null
state
string | null
error
string | null
error_description
string | null

Response

Successful Response