-
Notifications
You must be signed in to change notification settings - Fork 51
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
Unable to complete setup #136
Comments
Checking the logs, I discovered this: 2021-09-26 15:34:59 ERROR (MainThread) [custom_components.ytube_music_player.config_flow] Traceback (most recent call last): However, that field does exist in the cookie text, ie: I can confirm this was copied from a /browse request and I am logged in. Maybe you need to use x-goog-visitor-id instead ? Could this be an issue related to two step authorization which I have enabeld on my account ? |
It might help to use a chrome incognito session. |
I see the same thing even after logging in from an incognito window. Is it not possible to use an application password, or to set up oauth cloud access using client_id, client_secret ? The Google Nest integration uses something like this. |
Appears to be not possible .. please read sigma67/ytmusicapi#10 |
I followed the instructions referred to in the integration setup window, and obtained cookie data from a browser window. However when I paste this in to the setup, I get an error "Something with your cookie wasn't right. Format and fields are ok but the login failed". I have a YT music subscription and the cookie data was copied verbatim from the request headers in a logged in session.
The cookie data begins with "VISITOR_INFO1_LIVE=...:" and then contains several other pieces of data separated with ";" ending with "__Secure-3PSIDCC=...".
The text was updated successfully, but these errors were encountered: