Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Conversation

@hlxid
Copy link
Member

@hlxid hlxid commented Mar 11, 2021

Fixes #212. The problem is that the google oauth2 api only returns a refresh token if a confirmation prompt was displayed to the user. Previously if you logged in once it would use the session and automatically authenticate you. But then you don't have a refresh token and it fails because of that after about an hour.
This creates the problem that everytime you need to select your Google account and click "OK" but I will create a followup PR to save the refresh token so you don't need to login each time and also it doesn't create a browser tab each time.

Fixes #212. The problem is that the google oauth2 api only returns a refresh token if a confirmation prompt was displayed to the user. Previously if you logged in once it would use the session and automatically authenticate you. But then you don't have a refresh token and it fails because of that after about an hour.
This creates the problem that everytime you need to select your Google account and click "OK" but I will create a followup PR to save the refresh token so you don't need to login each time and also it doesn't create a browser tab each time.
@hlxid hlxid merged commit 9e0d1ec into master Mar 11, 2021
@hlxid hlxid deleted the fix/212-youtube-token-refreshing branch March 11, 2021 16:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Token Refreshing of YouTube doesn't work

2 participants