airbyte-connectors
airbyte-connectors copied to clipboard
How to update refresh_token in source config?
My source needs to support OAuth2.0 authentication.
This gives me access_token
, refresh_token
, expires_in
So when the acess_token is expired, I have to request a new access_token and a new refresh_token.
Do you know how I can update the new tokens in the configuration?
Which source are you referring to?
We have the same issue. We have refresh_token which updates at some time. And we need to update it in the connector source. Can we do it?
Which connector are you using?
Which connector are you using?
Custom source for Quickbooks service.
So we are developing our own source for Quickbokks API, and it has full OAuth flow. After each request it return new refresh token and we asking where is the best place to store this refresh and auth token ?
Yes, you should be able to do it. I recommend implementing the client in a separate class and explicitly handling the token expiration error in the client.