Skip to content
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

OAuth refresh token support #11

Open
daigotanaka opened this issue May 3, 2021 · 0 comments
Open

OAuth refresh token support #11

daigotanaka opened this issue May 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@daigotanaka
Copy link
Collaborator

Currently, tap-rest-api doesn't fully support OAuth. It can customize the header, so if the developer can manually obtain the token and if it does not expire, the tap still works with the APIs with OAuth. That isn't the case for most services.
OAuth usually implements a refresh token with which we can obtain a new token after the older one expires.

It's probably possible to implement a generic OAuth refresh token flow. If we can achieve this, we just need to set a refresh token in the config, then run the flow to obtain the token.

I recently implemented such flow in PyPardotSF project, and I'm hoping to reuse some of the logic from it.

@daigotanaka daigotanaka added the enhancement New feature or request label May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant