Documentation

Example Token Editor

Below you see a token example for an editor:

 

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJDdXN0b21lck9yZyIsImF1ZCI6IiIsInN1YiI6InVzZXJAY3VzdG9tZXIuY29tIiwidXNlclR5cGUiOiJFRElUT1IiLCJmaWx0ZXJzIjpbeyJ2aXNpYmxlIjp0cnVlLCJuYW1lIjoiQ291bnRyeSIsInZhbHVlcyI6WyJHZXJtYW55IiwiU3BhaW4iXX1dLCJkYXNoYm9hcmRzIjpbInNhbGVzX2Rhc2hiYW9yZCIsIm1hcmtldGluZyJdLCJ1c2VyQ29uZmlnIjp7fSwid2hpdGVMYWJlbCI6e30sImxhbmd1YWdlIjoiRW5nbGlzaCJ9.ogCnh0mcdTXd-qfYdhak482Va0Z4jL7v7RMEiKbE9kk

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

 

The payload will look like this:

 

{
  "iss": "CustomerOrg",
  "aud": "",
  "sub": "user@customer.com",
  "userType": "EDITOR", 
  "filters": [
    {
      "visible": true,
      "name": "Country",
      "values": [
        "Germany",
        "Spain"
      ]
    }
  ],
 "dashboards": [
    "sales_dashbaord",
    "marketing"
  ],
  "userConfig": { },
  "whiteLabel": {},
  "language": "English"
}