From c87dd440ca8dc927808fe8f9fc62eee69bbbcfa0 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Fri, 3 May 2019 12:41:46 +0200 Subject: [PATCH] Added new OAuth instructions --- README.rst | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 9f36657..dd4bebe 100644 --- a/README.rst +++ b/README.rst @@ -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 ----