Collage maker for Spotify playlists.
The OAuth callback URL used for Spotify login is resolved in this order:
SPOTIFY_REDIRECT_URI(preferred)REDIRECT_URI(backward compatible)APP_BASE_URL+/callback- Request host/protocol (using forwarded headers when present)
http://...callback URLs are only allowed for localhost development (localhost,127.0.0.1,[::1]).- Non-local environments must use
https://...callback URLs.
CLIENT_SECRET: Spotify app client secret- One of:
SPOTIFY_REDIRECT_URI(recommended), orREDIRECT_URI, orAPP_BASE_URL
Local development:
CLIENT_SECRET=...
SPOTIFY_REDIRECT_URI=http://localhost:3000/callbackProduction:
CLIENT_SECRET=...
SPOTIFY_REDIRECT_URI=https://your-domain.com/callbackor
CLIENT_SECRET=...
APP_BASE_URL=https://your-domain.comIn your Spotify app settings, register the exact same callback URL used by this app (for example https://your-domain.com/callback or http://localhost:3000/callback for local development).