Skip to main content
Version: 6.0.10

oauth.js(optional)

oauth.js defines user-defined oauth for the service. 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
  • serviceUrl: service url for the service (optional)
  • tokenType:
    • bearer: bearer token type
    • service_token: service token for the service itself, not the specific user.
  • refreshTokenExpiration: expiration of refresh token