mirror of
https://git.sr.ht/~phw/scotty
synced 2025-05-01 14:17:06 +02:00
Basic "scotty auth" implementation
This commit is contained in:
parent
8b227cb514
commit
14d944c7ad
8 changed files with 238 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue