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

Automatically Obtaining a refresh token once session expires #2

Open
srijuk opened this issue Aug 21, 2021 · 2 comments
Open

Automatically Obtaining a refresh token once session expires #2

srijuk opened this issue Aug 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@srijuk
Copy link

srijuk commented Aug 21, 2021

Hi Pranab
Thanks again for the last issue I raised. Is it possible to automatically check and obtain a refresh token once the current session expires. This is really becoming a problem if you have large amount of data to upload.
Thanks
Srini

@pranabdas
Copy link
Owner

You may use Code flow authentication to get refresh_token for persistent session. Hope it solves your issue.

@srijuk
Copy link
Author

srijuk commented Aug 22, 2021

Hi Pranab
Thanks again for this. Appreciate your time.
I got an error saying that client secrets are no more accepted. I removed that and it worked fine. I managed to get it to work using code flow authentication. Is it not possible to altogether avoid copy pasting the links to the browser and back. I remember reading somewhere we can emulate the request that its from a browser. Was thinking on those lines.
Appreciate your help so far.
Regards
Srini

pranabdas added a commit that referenced this issue Mar 11, 2022
- Add .githubattributes file to recognize .ipynb files as Python
pranabdas added a commit that referenced this issue Mar 11, 2022
- Add .githubattributes file to recognize .ipynb files as Python
pranabdas added a commit that referenced this issue Mar 11, 2022
- Add .gitattributes file to recognize .ipynb files as Python
pranabdas added a commit that referenced this issue Mar 11, 2022
- Add .gitattributes file to recognize .ipynb files as Python
- Add .gitignore
- resources folder is renamed to assets
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

2 participants