-
Notifications
You must be signed in to change notification settings - Fork 62
Improve Google auth flow #8
Comments
Not sure if we can use an oauth based authentification as other services, as the API used for Google PM is unofficial. Will look into it to see if it's possible |
I found an old issue here. It seems the best way to use the playmusic library with a 2-factor enabled Google account is to create an app specific password. Would it be possible to detect if an account has 2-factor enabled and provide a hint or perhaps open a webpage with instructions, so a user doesn't wonder "Why doesn't this work?" and give up on harmony. |
Thanks @aidanharris, I will add it to the README |
I think the method listed in the README "enable the insecure app access" is not the best route to go. I suggest linking users to the app password page, where they can create a specific password for the Harmony app. I have tested and confirmed that this method works. On a second look, the issue mentioned by @aidanharris mentions this method. I think the README just needs to be changed. |
Added to the README :) |
I close this, as I don't think there is anything more doable with this current API. |
All other services create popups to sign in through official channels but Google works differently meaning it misses out on TOTP support and creating the impression of it being a second class citizen.
The text was updated successfully, but these errors were encountered: