feat: add Spotify client and auth routes
This commit is contained in:
parent
cdab1b4dd5
commit
6769833f7e
11 changed files with 934 additions and 9 deletions
|
|
@ -18,6 +18,12 @@ class Settings(BaseSettings):
|
|||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||||
|
||||
app_mode: AppMode = AppMode.DEMO
|
||||
spotify_client_id: str = ""
|
||||
spotify_redirect_uri: str = "http://127.0.0.1:8888/callback"
|
||||
spotify_api_base_url: str = "https://api.spotify.com/v1"
|
||||
spotify_timeout_seconds: float = 10.0
|
||||
spotify_retry_after_cap_seconds: float = 5.0
|
||||
session_cookie_secure: bool = False
|
||||
|
||||
|
||||
settings = Settings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue