EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

Token is removed from connection string when exporting .MSTR files


Community Admin

• Strategy


This article explains a behavior change that Token is removed from connection string when export. MSTR files.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.
Description
 
In Strategy 2019, when saving a dossier to the Intelligence Server from Workstation, user/password info will be kept by default while token is removed. When dossier is later opened, "No access token provided: error appears.
In Strategy 2019, when creating dossiers with sources which are authenticated by Refresh Token, Access Token or Client Secret, secret values are removed from the connection string for security concern. If the token is stored in the connection string, the .mstr file can retain the data without any authenticating steps.
 
The behavior change may impact following sources when performing Import / Export .MSTR files:

  1. Google BigQuery
  2. Eloqua
  3. Service Now
  4. Shopify
  5. Hubspot
  6. Square
  7. Marketo
  8. Paypal
  9. Concur
  10. Others

 
Before Strategy 2019:
 
Secret info is carried along with .mstr files and when the file is opened on another platform, data is directly seen without authentication steps.
 
 
Since Strategy 2019:
 
Secret info is removed from .mstr files and user will be asked for credentials when opening the dossier.
It behaves differently in below scenarios: 

  • When exporting .MSTR files 

Why is this happening?
1. In connection string , the following keys are being removed:
RefreshToken , OAuthRefreshToken , Auth_AccessToken , Auth_Client_Secret , Auth_RefreshToken
 
Example (Concur DB): 
Old .mstr files:
Connection string stored is:
JDBC;DRIVER={com.Strategy.concur.jdbc42.CLJDBCDriver};URL={jdbc:concur://;Host=concursolutions.com;Auth_Type=OAuth 2.0;Auth_RefreshToken=0_Nye*****************;Auth_Client_ID=reta3CLmP6gIbt2OBQXqOc;Auth_Client_Secret=Y1J****************}
 
Export a new .mstr file, from the connection string that the keys for "Auth_RefreshToken" and "Auth_Client_Secret" are both cleared:
JDBC;DRIVER={com.Strategy.concur.jdbc42.CLJDBCDriver};URL={jdbc:concur://;Host=concursolutions.com;Auth_Type=OAuth 2.0;Auth_RefreshToken=;Auth_Client_ID=reta3CLmP6gIbt2OBQXqOc;Auth_Client_Secret=}
 

  • When importing .MSTR files 

When import a .mstr file whose token has been removed.
 
For Live Dossiers, user will be asked for credentials once opening the dossier.
The fields for "Access Token”, "Refresh Token" and "Client Secret" are needed besides "User" , "Password".

ka0PW0000001JT9YAM_0EM44000000RWgV.png

 
    

ka0PW0000001JT9YAM_0EM44000000RWga.png

 
 
For In-Mem Dossiers, data is stored with .mstr file and dossier can be executed successfully without asking for credentials. User will be asked for credentials when republishing cube.
     

ka0PW0000001JT9YAM_0EM44000000RWgf.png

 
     

ka0PW0000001JT9YAM_0EM44000000RWgk.png

 
 

  • When editing DB role

When users edit a DB role, connection info is viewable, the token and client secret are hidden from interface.
 
Note: Users can still connect to the source but any modifications that will be saved in this DB role definition will require the fields for tokens and client secrets to be filled again.
 
 
Solution
Option 1
Upgrade to Strategy 11.1 to take advantage of the fix.
Option 2
Alternatively, in Strategy 2019: 
       1.   In visualization page, click "Edit Dataset" and go to Data Modeling page. 
              

ka0PW0000001JT9YAM_0EM44000000RWgB.png

 
       2.   Click the drop-down button and click "Edit Table", to Data Import page.
              

ka0PW0000001JT9YAM_0EM44000000RWgG.png

       3.   In Data Import page, click the "Edit" button to DB role. 
              

ka0PW0000001JT9YAM_0EM44000000RWgL.png

       4.   Edit DB Role and manually input the information.
             

ka0PW0000001JT9YAM_0EM44000000RWgQ.png

 
 
Have other questions? Feel free to start a discussion or reach out to your Support liaison to open a case!
Want to upgrade to Strategy 2019? Visit the Strategy website!


Comment

0 comments

Details

Knowledge Article

Published:

December 18, 2018

Last Updated:

March 21, 2024