Open misilot opened 8 months ago
Hiya.. sorry you are having trouble. We have be using oauth2 with several other providers without issue. Can you help us exact steps to reproduce with some endpoint which we can access.?
Same issue here. The connection is made when doing the "Test and Save" via the health check screen. Then after the connection times out or I manually revoke the connection on the Salesforce side the 401 happen.
@yesoreyeram do you still need access to an endpoint where this is happening?
@jcpalumbo - Yes James. Still I need access to some endpoint where I should be able to reproduce the issue.
From what I can tell in my case Salesforce does not use a refresh token with the Client Credentials flow. Once the token expires you need to just get another token using the client id and secret. I should be able setup a sandbox connection for you to test if this makes since.
Same problem, I get a 401 once my token is revoked
Describe the bug
oauth2 credentials are not refreshed with the refresh_token, or a new access_token is not requested after getting 401 error.
Steps to reproduce
Setup Datasource with OAuth2 and wait try and use it after the token expires.
Sample Data
Error:
Version Details:
Additional context
Add any other context about the problem here.