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

How to find the lifetime of a login token. #119

Open
rgelb opened this issue Nov 4, 2022 · 0 comments
Open

How to find the lifetime of a login token. #119

rgelb opened this issue Nov 4, 2022 · 0 comments
Labels
question Further information is requested

Comments

@rgelb
Copy link

rgelb commented Nov 4, 2022

I want to add a huge amount of photos (let's say 1000) which will takes a long time. After a while I get Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential error when calling any method on the library.

How do I find out when the OAuth access token is expiring?

P.S. My current workaround is to basically new up GooglePhotosService. Is there a better way?

@f2calv f2calv added the question Further information is requested label Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants