-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use auth token for lastfm credentials #1
Comments
I agree with this. For now, one could at least allow to manually set an MD5-hash in the config file. For example, one could add a configuration entry |
Not a bad idea, would at least be quite a bit nicer than how it is now. Could even just be Other option could be to use http://www.last.fm/api/webauth or one of the other auth flows. Essentially we would need to add http://www.mopidy.com/authenticate/ as the callback and then have it use the auth token to get a session id which the user can then copy to the config. This way we never get your password, but mopidy would still have a session id with access to the account. At least on the bright side that access can then also be easily revoked. Only downside a can think of for that variant is how, if at all it would work with librefm and that pylast probably doesn't support it (assuming we continue to use it). |
+1 |
I've submitted PR #27, which does the MD5 hashing. Although OAuth would probably be better, this provides at least a little more safety than the plaintext. |
I'm not well versed in all this, can you please explain how it's more
secure?
…On Sat, 15 Sep 2018, 00:27 Evamvid Sharma, ***@***.***> wrote:
I've submitted PR #27 <#27>,
which does the MD5 hashing. Although OAuth would probably be better, this
provides at least a little more safety than the plaintext.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA5DqIpiwmsM8vhh001OJUU4Pgg6S-Z9ks5ubDtngaJpZM4BHbrX>
.
|
As was discussed a bit more in #27, pylast does support the client specifying a
Note that the pylast support for Web Auth described here seems to actually be for Desktop Auth. But that doesn't matter, we'd probably want to write our own simple handler to use at http://www.mopidy.com/authenticate/. |
See mopidy/mopidy#306 for original request.
The text was updated successfully, but these errors were encountered: