I'm facing some issues while connecting my SQL Server using 2 Step Authentication WebServiceDataSource in Telerik Reporting. I have referred the following official documents - Document 1 Document 2
Currently, I'm stuck on a few things:
- On Configure Data Retrieval window, Can I leave the Data Selector Field Blank? Is it required to specify JSONPath?
- In Postman I don't have to manually add any Headers to my current Authentication and Data Retrieval Endpoint (content type, accept, authorization, etc. these are automatically added by Postman). In Config Request/Authentication Parameters, do I need to add any of these headers?
- In Configure 2 Step Authentication window;
a. What is the role of Token Path? If it is to retrieve the access_token, as per the documentation is this regex (?:"access_token":")(.?)(?:")* correct? I came up with another regex "access_token":"(.*?)". Let me know which one is correct and why.
b. What is the Request Body Type? Text or JSON? - Due to the above configuration issues I am getting the following error on the Preview DataSource Results window.
a. Error- Could not get preview.. An error has occurred. Value cannot be null. Parameter name: content