Skip to main content
Version: 7.1.0

oauth.js(optional)

oauth.js defines user-defined oauth for the connector. it is configuration of JavaScript logic when oauth is requested.

With input variable, user can create their own logic for oauth.

Expected result

  • name: name for identifying the token
  • accessToken: access token
  • refreshToken: refresh token
  • connectorUrl: connector url for the connector (optional)
  • tokenType:
    • bearer: bearer token type
    • connector_token: connector token for the connector itself, not the specific user.
  • refreshTokenExpiration: expiration of refresh token