Issue with Sisense Compose SDK and SSO Authentication
Hi all!
I am currently facing an issue while trying to visualize data on my dashboard using the Sisense Compose SDK in combination with SSO authentication (auth0). I have followed the guidelines provided in the following article to set up SSO with Auth0: Link to Article: Setting up SSO (SAML 2.0) with Auth0
Despite following the instructions in the article, I am unable to make it work as intended.
Here is the problem I am encountering:
- After successfully logging in to my application, I attempt to load data from Sisense using the SDK
- The SDK redirects me to the Sisense dashboard (because "/api/auth/isauth" responds with not authenticated)
- I am successfully logged into Sisense; however, I cannot access the data from my dashboard
Upon further investigation, I noticed that the issue appears to be related to the browser not sending all the necessary cookies when making the "/api/auth/isauth" request. This request consistently returns "isAuthenticated": false, even though I am logged in.
Best regards, Ziga
There is a feature introduced in L2021.3 that you may want to enable to allow redirects back to the application page. The flag is called newReturnToValidationBehavior, which is accessed from the internal Base Configuration page.
This flag exposes the Allowed Target URLs section in Security settings.
--Below are steps to get to the internal Base Configuration:
- As a user with the System Admin role, navigate to Admin > search for and select System Management > click Configuration.
- Click the Sisense logo 5 times.
- From the left pane, select Base Configuration.