[Bug] Auth Token is not refreshed when using plugin with SFDC API #1040
Unanswered
camsellem
asked this question in
Specific APIs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I'm using the Infinity plugin to query Salesforce API. I'm experiencing the following bug - After setting up the datasource and creating my dashboard, everything works just fine. Although if I come back 24/48 hours after on the dashboard I'm getting a
401 unauthorized
error on every panels. To fix it I need to edit the datasource and perform a health check - then it works again. My assumption is that my token expires and it's not refreshed within the dashboard hence the need of editing the datasource again.Steps to reproduce
Create a connected App in SFDC to access the REST API
Create an Infinity Datasource
Authenticate using OAuth2 using Client ID and Client Secret
Create a Panel and retrieve some SFDC Data
Open the dashboard again a day or two after
Error should pop up
Edit the datasource and perforce a health check to refresh the token
Dashboard is ok again
Note: bugs will be fixed only if enough information provided to reproduce the issue
Sample Data
Provide a link for sample data, or provide sample data bellow
Screenshots
If applicable, add screenshots to help explain your problem.
Version Details:
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions