Skip to content

Integrations

Redirect a user to oauth portal base on configuration integration.

  • target: "integrations"
  • options:
    • viewTexts: [Object] Display all the configured text
      • pageTitle: Provide integration page title
      • availbleTitle: Provide available section title
      • activeTitle: Provide active section title
      • addButton: Provide text for add button
    • integrations: [Array of objects]
      • listDisplay: Provide a display name for display.
      • name: Provide a name of integration
      • identifier: Provide identifier of integration
      • icon: Provide an icon of integration
      • terms: Provide a terms text for integration
      • description: Provide a description text for integration
      • agreement: Provide an agreement text for integration

Example

{
  "target": "integrations",
  "icon": "far fa-star",
  "options": {
    "viewTexts": {
      "pageTitle": "連携デバイスリスト",
      "availbleTitle": "利用可能",
      "activeTitle": "利用中",
      "addButton": "確認し追加"
    },
    "integrations": [
      {
        "listDisplay": "Fitbit",
        "name": "Fitbit",
        "identifier": "fitbit",
        "icon": "fas fa-watch-fitness",
        "terms": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
        "description": "blah",
        "agreement": "I agree to the terms"
      },
      {
        "listDisplay": "Google",
        "name": "Google",
        "identifier": "google",
        "icon": "fab fa-google",
        "terms": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
        "description": "blah",
        "agreement": "I agree to the terms"
      },
      {
        "listDisplay": "Github",
        "name": "Github",
        "identifier": "github",
        "icon": "fab fa-github",
        "terms": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
        "description": "blah",
        "agreement": "I agree to the terms"
      }
    ]
  },
  "_id": "96",
  "title": "Integrations"
}