-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] oauth2 does not reauthenticate after credentials time out #781
Comments
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. |
@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.
The text was updated successfully, but these errors were encountered: