Sisense is an analytics platform that sits on top of business data, so its bearer tokens, web access tokens and embedding settings are machine credentials that deserve the same care as database passwords. Most Sisense deployments are not used only by people clicking through dashboards. They are called by scripts, embedded in customer portals, driven by integration services and connected to data warehouses. Each of those paths runs on a credential that is not tied to a human sitting at a keyboard: an API bearer token, a web access token secret, a stored admin login used to mint new tokens, or a connection string to a data source. Those are non-human identities, and they tend to outlive the projects that created them.
This guide walks through the Sisense controls that matter most for that machine side of the platform, using the settings and behaviours described in Sisense's own documentation for the Linux release line. It covers bearer token expiration, web access tokens for embedding, the security settings page, password and lockout policy, admin impersonation, and how to fit all of this into a wider non-human identity programme. Where Sisense's documentation does not describe a behaviour, this guide says so rather than filling the gap with assumptions.
This is an independent guide from NHI Mgmt Group, based on Sisense's public documentation as of November 2026. It is not sponsored or reviewed by Sisense. Product features change, so confirm settings against Sisense's current documentation.
Key takeaways
- Sisense bearer tokens grant access to anyone who holds them, so treat every token as a secret and store it in a secrets manager, not in scripts or embedding code.
- From release L2024.1, Sisense enforces bearer token expiration through the setting
authentication.apiTokenExpiration, but an in-place upgrade from an older release leaves the feature disabled. Check its state on every instance. - Turning expiration on makes existing tokens without an expiry date stop working at once, so plan token renewal for every integration before you enable it.
- Web access tokens are limited to Viewer-level access, but an omitted
expclaim makes the asset reachable indefinitely. Always set an expiry. - The web access token Secret is shown only once at creation. Capture it straight into a vault and record its owner.
- The Embedded Domain White List and Allowed Target URLs settings both allow everything when left empty. Populate them.
- Admin impersonation is on by default. Decide deliberately whether your deployment needs it.
Why Sisense is a non-human identity problem
An analytics platform concentrates access. To build a dashboard, Sisense needs to read from data sources, and to serve that dashboard inside another application it needs a way to trust requests that do not come from an interactive login. Each of these trust relationships is carried by a credential, and most of those credentials belong to software rather than to people.
In a typical estate you will find several families of machine credentials around a Sisense instance:
- API bearer tokens used by automation scripts, provisioning jobs and back-end services that call the Sisense REST API.
- Stored admin credentials held by an integration so that it can log in and request a fresh bearer token when the old one expires.
- Web access token configurations, each with a Key ID and a Secret, used to generate encrypted tokens for embedded or standalone viewing.
- Data source credentials that Sisense uses to connect to warehouses, databases and files.
- SSO and identity provider trust, including redirect targets and signing material that let the identity provider vouch for users.
Each of these is a candidate for leakage through source code, configuration files, chat messages, tickets or backups. The MITRE ATT&CK sub-technique T1552.001, Credentials In Files, describes exactly this kind of exposure, and a leaked Sisense token becomes an instance of T1078, Valid Accounts, the moment someone else uses it. The controls below are about making these credentials short-lived, narrowly scoped, owned and observable.
Bearer tokens: how they work in Sisense
Sisense's documentation describes a bearer token as an access token that grants access to a resource or service. The defining property is that anyone holding the token can use its access without further authentication, which is why Sisense stresses handling and transmitting it securely. The token carries the information needed for authorisation, so the server does not need to keep session state or look up each token in a database.
Sisense documents two ways for an integration to obtain a bearer token:
GET /api/v1/authentication/tokens/api, which requires an existing valid bearer and returns a fresh one.POST /api/v1/authentication/login, which uses admin credentials to log in and obtain a bearer.
The token is sent with each request, and the receiving server verifies its authenticity and permissions before granting access. A token that is expired, invalid or missing makes requests unauthorised. Sisense's sample code treats a 401 response as an invalid bearer and regenerates it.
Notice the security trade-off in the second method. If an integration renews its token by logging in with admin credentials, then the long-lived secret is no longer the token; it is the admin username and password stored by the integration. Shortening token lifetimes is only half the job if the credential that mints them is itself permanent, highly privileged and stored carelessly. Wherever possible, prefer renewal through the GET endpoint with an existing valid bearer, and if stored credentials are unavoidable, use a dedicated account rather than a personal administrator login.
Sisense's documentation does not describe an explicit revocation mechanism for bearer tokens. Tokens stop working when they expire or are replaced by renewal. That makes expiry your main lever for limiting the damage of a leaked token, and it is the reason the next section matters.
Enforcing bearer token expiration
Since release L2024.1, Sisense enforces setting an expiration date as part of its Bearer Authentication feature. The controlling setting is authentication.apiTokenExpiration. Sisense documents that it can be set to false to disable the feature temporarily, that the change is applied through POST /api/v1/settings/system, and that the affected services are restarted with a kubectl rollout restart of the configuration, secret-service, api-gateway and identity deployments.
Once enabled, token expiry follows the cookie or session settings configured in Session Management.
Default state depends on how you got to your current release
This is the detail most likely to leave an instance exposed. Sisense documents that the default state of the feature differs by installation path:
| Installation or upgrade path | Default state of expiration |
|---|---|
| Fresh install of L2024.1 or later | Enabled |
| In-place upgrade from pre-L2024 to L2024.1 or later | Disabled |
| In-place upgrade from L2024.1 or later to a newer release | Unchanged |
| Side-by-side upgrade from pre-L2024 to L2024.1 or later | Enabled |
| Side-by-side upgrade from L2024.1 or later to a newer release | Unchanged from the backed-up instance |
An organisation that has been running Sisense since before 2024 and upgraded in place may therefore still have non-expiring tokens today, even on a current release. Do not assume. Check the setting on each instance, including test and staging environments that often hold copies of production integrations.
Plan the switch before you flip it
Sisense warns that when the feature is enabled after an upgrade, existing tokens with no expiration date expire immediately, and integrations such as embedding stop working until new tokens are created or existing ones are renewed. That is a good security outcome and a bad operational surprise. Before enabling it:
- Inventory every script, service and embedding that calls the Sisense API.
- For each one, confirm it can renew its bearer, either by refreshing on a schedule through the GET endpoint or by logging in again. Sisense's sample uses a 120 minute refresh interval and advises setting the interval according to the token's expiration.
- Follow Sisense's advice to initialise the client service once at start-up and to store the bearer or credentials in the application's own store. In NHI Mgmt Group's view, that store should be a secrets manager rather than a plain application database table.
- Agree a maintenance window, enable expiration, restart the services and watch for 401 errors from integrations you missed.
Leaving authentication.apiTokenExpiration at false should be a time-boxed exception with an owner and a review date, not a permanent configuration.
Web access tokens for embedding
Web access tokens are Sisense's way of granting access to assets without credentials or cookies, for both embedded and standalone deployments. Sisense documents them as a type of JSON Web Encryption token whose payload is compressed and encrypted with a public key, so end users cannot read it.
Scope is limited, but not unlimited
The highest access level a web access token can grant is the Viewer role, and Sisense states that Designer and Admin access are not planned. Sessions are stateless, and each session can override the context and settings of an asset without changing the original content. The feature must be included in the Sisense licence and activated by the customer success manager, and it is not compatible with Sisense Multitenancy.
Viewer-only does not mean harmless. A viewer token for the wrong dashboard, or one whose data security rules do not apply, can still disclose data. Sisense documents several behaviours that affect what a token actually exposes:
- Data security rules are ignored unless a widget uses the data source named in the
dataSourceTitleclaim. - Claims replace inherited settings rather than adding to them.
- Filters in the
fltclaim apply only at the dashboard level, while widget filters are inherited. - Per-dashboard permission configuration within a single token scope is not allowed.
Test every token by opening it and checking what an end user can see and do, which is also Sisense's own recommendation.
Set an expiry on every token
The exp claim is optional and takes a Unix timestamp. If it is omitted, the asset is accessible indefinitely. Sisense recommends setting exp according to how long a session needs to load, which limits exposure if a token leaks. Note also that expiry does not revoke active sessions; it only means new sessions are refused after that time. Sisense does not currently apply logic to the iat claim, so do not rely on issued-at time for any control.
Protect the Secret
Creating a token configuration under Admin, Web Access Tokens produces a Key ID and a Secret. The Secret is shown only once and cannot be retrieved later, and Sisense advises storing it in a secure location straight away. Treat that moment as a credential issuance event: record who created the configuration, which application uses it, where the Secret is stored and when it will be reviewed. Tokens can then be generated with an in-house tool built on the libraries Sisense lists, through the REST API 1.0 /web-access-tokens endpoints, or from the Create New Token page in the Admin console. For content that changes per user, Sisense suggests generating tokens dynamically with a custom tool rather than issuing long-lived static tokens.
The sub claim is mandatory and names the user to impersonate. Create a dedicated Sisense user for each embedding use case, with only the parameters it needs, rather than pointing sub at a real person's account.
Security settings that close common gaps
Sisense groups several controls on the Security Settings page under Admin, Security and Access. Several of them fail open when left empty, which makes them worth reviewing on every instance.
| Setting | What Sisense documents | Suggested position |
|---|---|---|
| Embedded Domain White List | Limits which domains can embed dashboards in iFrames. If empty, any site can embed them. Wildcards are supported. | List only your own application domains. |
| Hide list of allowed domains | Filters the allowed-domain list in server responses based on the Referer or Origin header. Requests fail if neither header is sent, and some iFrame navigation breaks. | Test with your embedding before enabling. |
| Support Cross Site Cookies for Embedding | Sets the SameSite cookie attribute. None is recommended with SSL enabled. Changing it rotates the API token. | Change only in a planned window, because integrations will need the new token. |
| Enable CHIPS for Iframe-based Embedding | Adds the Partitioned attribute to authentication cookies. Works only with iFrame and Embed SDK embedding. | Use where your embedding method supports it. |
| Session Management | Chooses whether sessions expire by cookie or by inactivity. | Pick deliberately; bearer token expiry follows it. |
| Allowed Target URLs | Whitelists SSO redirect targets. An empty list allows all redirects. | List the exact URLs you use. |
| Allow only users in imported groups to log in | Restricts Active Directory logins to members of imported Sisense groups. | Enable where Active Directory is used. |
The Configuration Manager also offers Content Security Policy controls, including Custom Content Security Policy, Frames Domains and Images Domains, which govern which sources add-ons can load. Keep those lists as short as your add-ons allow.
The note that changing the cross-site cookie setting rotates the API token is worth highlighting. It is a reminder that configuration changes can have credential side effects, and that every integration must be able to cope with a token changing underneath it.
Passwords, lockout and impersonation
Password policy
Sisense's default password policy requires a minimum of 12 characters including one or more of lowercase letters, uppercase letters, digits and special characters. Administrators can set a custom policy through the REST API using passwordRegex, with passwordError as the message shown on failure. Setting passwordRegex to blank resets the policy to the default. When writing a custom policy, favour length over composition rules, in line with NIST SP 800-63B-4, and test the regular expression carefully so that it does not accidentally weaken the default.
Lockout
The Security Settings page provides Number of failed login attempts before lockout and Lockout duration (minutes). Set both. Remember that the POST login endpoint used by integrations is also a password login, so a misconfigured integration can lock out its own service account. Monitor for repeated lockouts of non-human accounts, because they often point to a stale credential in a forgotten script.
Admin impersonation
Enable impersonation for Admins sits under Authentication Settings and is on by default. When it is turned off, impersonation requests are rejected across the deployment and the change takes effect immediately. Sisense notes that role limits, required reasons, rate limits and session time limits still apply when it is on. If your support model does not need impersonation, switch it off. If it does, make sure the reasons given are reviewed and that the administrators who can impersonate are a small, named group.
Data source credentials and least privilege
The documentation pages used for this guide do not describe how Sisense stores or protects data source connection credentials, so this section stays at the level of general practice rather than product behaviour. Confirm the specifics with Sisense for your deployment.
- Give each data source connection its own database account, created only for Sisense, with read access to the schemas the dashboards need and nothing else. This follows the least privilege principle in NIST SP 800-53 Rev. 5 control AC-6.
- Do not reuse a warehouse administrator, a developer's personal login or a credential shared with other tools.
- Rotate connection credentials on a schedule and whenever someone with access to them leaves, and record each rotation, in line with control IA-5, Authenticator Management.
- Where the data source supports it, restrict the Sisense account by network location so that the credential is useless from anywhere else.
- Keep data security rules in Sisense as a second layer, not the only layer. A database account that can read everything turns any Sisense misconfiguration into full exposure.
Building Sisense into your NHI programme
The settings above are only durable if they are backed by process. Treat the Sisense instance as one more system in your non-human identity inventory:
- Inventory. List every bearer token consumer, every stored admin credential, every web access token configuration and every data source account. Record an owner, a purpose and a renewal method for each.
- Store. Move tokens, Secrets and stored credentials into a secrets manager, following the OWASP Secrets Management Cheat Sheet. Remove them from code repositories, CI variables visible to many people, and embedding pages.
- Scan. Add Sisense token formats and configuration names to your secret scanning rules for repositories, tickets and chat.
- Expire. Enforce bearer token expiration and set
expon every web access token. - Offboard. When a project ends, delete its web access token configuration, retire its service user and rotate any shared credential it touched.
- Respond. Write a short playbook for a suspected Sisense token leak: identify the consumer, rotate or replace the credential, review recent API activity and check whether data source credentials need rotation too.
Common failure patterns
- Upgraded, but still non-expiring. An instance upgraded in place from a pre-2024 release still has bearer token expiration disabled, so old tokens keep working forever.
- Personal admin as integration account. A script renews its bearer by logging in with an administrator's own credentials, which then sit in a configuration file.
- Web access tokens with no expiry. The optional
expclaim is left out, so an embedded link works indefinitely for whoever holds it. - Lost or scattered Secrets. The one-time Secret is pasted into a chat or ticket at creation and never moved to a vault.
- Empty allow lists. Embedded Domain White List and Allowed Target URLs are left blank, which means any site can embed dashboards and any redirect is accepted.
- Unexpected rotation outages. A cookie setting is changed, the API token rotates and integrations fail, prompting someone to disable controls in a hurry.
- Over-privileged data connections. The data source account can read the whole warehouse, so a Sisense mistake becomes a data breach.
Practitioner checklist
- Confirm
authentication.apiTokenExpirationis enabled on every Sisense instance, including non-production. - Inventory every bearer token consumer and confirm each can renew its token automatically.
- Replace personal administrator credentials used by integrations with dedicated, documented accounts.
- Store bearer tokens, stored credentials and web access token Secrets in a secrets manager.
- Set an
expclaim on every web access token and use a dedicatedsubuser per use case. - Test each web access token as an end user and confirm data security rules apply.
- Populate Embedded Domain White List and Allowed Target URLs with exact entries.
- Set failed login attempts before lockout and lockout duration, and alert on non-human account lockouts.
- Review whether Enable impersonation for Admins is needed, and restrict who can use it.
- Give each data source connection its own least privilege account and rotate it on a schedule.
- Add Sisense credentials to secret scanning and to your leak response playbook.
Standards and references
- Sisense: Security Bearer Tokens
- Sisense: Using Web Access Tokens
- Sisense: Security Settings
- Sisense: Managing the Password Policy
- OWASP: Secrets Management Cheat Sheet
- NIST: SP 800-53 Rev. 5 (AC-6 Least Privilege, IA-5 Authenticator Management)
- NIST: SP 800-63B-4 Authentication and Authenticator Management
- IETF: RFC 8725 JSON Web Token Best Current Practices
Related NHI Mgmt Group resources: Secrets Management Guide · API Key Management Guide · Service Account Security Guide · Credential Rotation at Scale