2018-10-03 18:58:50 +02:00
|
|
|
[funkwhale]
|
|
|
|
enabled = true
|
2018-10-03 22:40:14 +02:00
|
|
|
# URL of your funkwhale instance
|
2018-10-03 18:58:50 +02:00
|
|
|
url = https://demo.funkwhale.audio
|
2019-05-03 12:22:45 +02:00
|
|
|
|
|
|
|
# Create an app by visiting <funkwhaleurl>/settings/applications/new
|
|
|
|
# and past the client id and secret below. Use "urn:ietf:wg:oauth:2.0:oob"
|
|
|
|
# as the app redirect URL, and request the following scopes:
|
|
|
|
# - read:libraries
|
|
|
|
client_id =
|
|
|
|
client_secret =
|
|
|
|
|
|
|
|
# you don't need to update this
|
|
|
|
authorization_endpoint = /authorize
|
|
|
|
token_endpoint = /api/v1/oauth/token/
|
|
|
|
|
|
|
|
## Settings below are for legacy password-based auth, you should use OAuth instead
|
|
|
|
|
2018-10-03 22:40:14 +02:00
|
|
|
# Username to use when authenticating (leave empty fo anonymous access)
|
2019-05-03 12:22:45 +02:00
|
|
|
username =
|
2018-10-03 22:40:14 +02:00
|
|
|
# Password to use when authenticating (leave empty fo anonymous access)
|
2019-05-03 12:22:45 +02:00
|
|
|
password =
|
|
|
|
|
2018-10-05 00:06:09 +02:00
|
|
|
# duration of cache entries before they are removed, in seconds
|
|
|
|
# 0 to cache forever, empty to disable cache
|
|
|
|
cache_duration = 600
|
2019-05-03 12:22:45 +02:00
|
|
|
|
|
|
|
# Control HTTPS certificate verification. Set it to false if you're using a self-signed certificate
|
|
|
|
verify_cert = true
|