Basic "scotty auth" implementation

This commit is contained in:
Philipp Wolfer 2023-11-19 23:52:13 +01:00
parent 8b227cb514
commit 14d944c7ad
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
8 changed files with 238 additions and 6 deletions

View file

@ -1,6 +1,9 @@
# Path to the database file used to store recent import timestamps
database = "scotty.sqlite3"
# Host and port for OAuth authentication callbacks
oauth-host = "127.0.0.1:2222"
[service.listenbrainz]
# This backend supports listens and loves from https://listenbrainz.org/
backend = "listenbrainz"
@ -60,6 +63,16 @@ username = ""
# A unique identifier for your playlist
identifier = ""
[service.spotify]
# Read listens and loves from a Spotify account
backend = "spotify"
# You need to register an application on https://developer.spotify.com/
# and set the client ID and client secret below.
# When registering use "http://127.0.0.1:2222/callback/spotify" as the
# callback URI and enable "Web API".
client-id = ""
client-secret = ""
[service.dump]
# This backend allows writing listens and loves as console output. Useful for
# debugging the export from other services.