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zNDIzNCIsInVybENvbmZpZyI6IiIsInBvcnQiOjMzMDYsInR5cGUiOiJteXNxbCIsInNpZCI6IiIsImlzU3NoIjp0cnVlLCJzc2hXaXRoS2V5Ijp0cnVlLCJzc2hIb3N0IjoieC54LngueCIsInJlbW90ZVNzaFBvcnQiOjIyLCJzc2hVc2VyIjoic3NoQ3VzdG9tZXIxIiwic3NoUGFzc3dvcmQiOiIifV19fQ.4FEqOXSSLW-VaWq3LPV5yhw-lgnaMgmlt767ntBoEgc

 

You can visualize the token here https://jwt.io.

 

The payload will look like this:

 

{
  "iss": "CustomerOrg",
  "aud": "",
  "jti": "kasDKK8973hofSSSF83444",
  "sub": "user@customer.com",
  "userConfig": {
    "predefinedDashboard": "sales_dashbaord",
    "filterBar": true,
    "toolBar": true,
    "refreshEnabled": true,
    "fullScreenEnabled": true,
    "filtersEnabled": true,
    "exportEnabled": true,
    "customLogoPath": "https://www.datapine.com/images/logo-bl.png"
  },
  "securityRights":{},
  "dashboards": [
    "sales_dashbaord"
  ],
  "filters": [
    {
      "visible": false,
      "name": "Country",
      "values": [
        "Germany",
        "Spain"
      ]
    }
  ],
  "whiteLabel": {
    "export": {
      "sendEmail": false
    },
    "buttons": {
      "fullscreen": false
    },
    "dashboard": {
      "export": false
    }
  },
  "language": "german",

"multiTenantConfig": {
    "dataSources": [
      {
        "ssoId": "uniqueId",
        "name": "sales_db_1",
        "host": "host.customer.com",
        "database": "sales",
        "user": "customer1",
        "password": "234234234",
        "urlConfig": "",
        "port": 3306,
        "type": "mysql",
        "sid": "",
        "isSsh": true,
        "sshWithKey": true,
        "sshHost": "x.x.x.x",
        "remoteSshPort": 22,
        "sshUser": "sshCustomer1",
        "sshPassword": ""
      }
    ]
  }
}