Forum Discussion

herajapakse's avatar
herajapakse
Cloud Apps
07-02-2024
Solved

Help with connecting to Sisense instance

  The current documentation advises configuring the connection with the following setup:   export const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = { url: '<instance url>', // replace with...
  • steve's avatar
    07-04-2024

    hi herajapakse 

    You shouldn't use API Tokens like this in production, for the reasons you state. We're going to update our docs soon to reflect this more strongly.

    Most customers use Single Sign On (sso) for embedded use cases, and the Sisense platform has built in support for this (not specific to Compose SDK, but holistically). If SSO is configured for Sisense, then your Compose SDK configuration is pretty simple, just set ssoEnabled = true as documented here https://sisense.dev/guides/sdk/getting-started/authentication-security.html#single-sign-on

    There are links from there to documentation on how to configure SSO on the Sisense platform side, and if you want to use your existing application as an identity provider then you should check out the basics on making a JWT handler that could be served from your application and have Sisense call that whenever someone is trying to authenticate with Sisense https://sisense.dev/guides/accessSecurity/jwt/

    This can sometimes be a topic that reads more complicated than it actually is, so feel free to reach out to your customer success representative or support if you need some clarification on what to do.

    FYI I don't think suggestion #2 below is relevant, since it's talking about JDBC connections, which is something else.

    Thanks

    Steve