Added new OAuth instructions

main
Eliot Berriot 2019-05-03 12:41:46 +02:00
parent 4a461de6bc
commit c87dd440ca
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 17 additions and 4 deletions

View File

@ -46,10 +46,16 @@ To enable the extension, add the following to your ``mopidy.conf`` file::
enabled = true
# URL of your funkwhale instance
url = https://demo.funkwhale.audio
# Username to use when authenticating (leave empty fo anonymous access)
username = demo
# Password to use when authenticating (leave empty fo anonymous access)
password = demo
# Application credentials (leave empty fo anonymous access)
# If you don't now what to put here, just run `mopidy funkwhale login` for
# the instructions
client_id =
client_secret =
# If for some reason, you want to use the legacy password-based auth,
# uncomment the variables below
# username = demo
# password = demo
# duration of cache entries before they are removed, in seconds
# 0 to cache forever, empty to disable cache
cache_duration = 600
@ -59,6 +65,13 @@ try using the demo server).
After that, reload your mopidy daemon, and you should be good!
Authorization
-------------
This plugin support the OAuth authorization workflow that is included in Funkwhale 0.19.
Run ``mopidy funkwhale login`` to perform authorization.
Todo
----