Privacy
Last updated 17 November 2026What we collect from Spotify
When you sign in with Spotify, Basis asks for 5 permissions (OAuth scopes). Spotify shows you the same list on its own consent screen, and this is the whole of it:
user-top-read— your top artists and tracks, short and long termuser-read-email— the email address on your Spotify accountuser-read-private— your display name, country and profile pictureuser-library-read— the tracks you have liked (saved) on Spotifyuser-read-recently-played— your recent play events — roughly the last day of listening
All of it is read-only. We cannot create, edit or delete anything in your Spotify library, and we do not request your playlists or your followers.
Genres do not come from Spotify. Spotify sends us your top artists and tracks, and it no longer returns artist genre tags to apps like ours. The genre tags on your profile are looked up from public tag data: Last.fm first, iTunes for the artists Last.fm has nothing on. Those lookups send an artist name and nothing else, never your account, email or listening data.
Two of those scopes reach past your top lists. user-library-read reads the tracks you have liked (saved) on Spotify. user-read-recently-played reads your recent play events — roughly the last day of listening — which accumulate, day by day, into the play history your monthly recap and its listening clock are drawn from. Spotify does not hand apps your full streaming history, and we do not ask it for one. If you want years of history on your profile you have to bring it yourself: Settings → Sources accepts your own Spotify data export, and nothing is imported until you upload it.
Apple Music is not available yet. An Apple Music sign-in path exists in our code but is switched off, so today Basis cannot read any Apple Music data — there is no Apple Music account on Basis and nothing to collect. If we enable it, this page will describe what it covers before it goes live.
What we store
Your Spotify data is stored in a Postgres database (hosted on Supabase, EU region) alongside the public profile fields you provided (display name, bio, country). Cached data (Spotify artist/track metadata, album art URLs) is stored alongside your Spotify rows, and so are the two things the extra scopes above return: the tracks you have liked, and your play events (including any history export you upload yourself). Access and refresh tokens are stored in the users table — see "Security" below. We do not store your raw Spotify audio. Your profile is visible to other signed-in users by default, but you can change visibility to public or private in your settings.
What we do with it
- Display your top artists, tracks and genres on your profile
- Show the tracks you have liked and build your monthly recap and listening history from your play events
- Show your reviews to your followers
- Compute a taste profile used for friend recommendations
- Generate shareable OG images for your profile
Nothing else. We do not analyse your listening for advertising or benchmarking. We do not export your data to any other service. We do not train machine learning models on Spotify data.
Disconnect & delete your data
You can disconnect your Spotify account at any time from /settings. The Disconnect button is shown only to the signed-in account owner. Clicking it shows a confirmation; on confirm, Basis:
- Deletes your top artists, top tracks, top genres, reviews, follows and comparisons
- Deletes your user row (cascade handles anything missed)
- Calls Spotify's token-revoke endpoint to invalidate the refresh token
- Clears your session cookie and redirects to /welcome
After disconnect, every /u/<your-username> page is a 404. The data is unrecoverable.
Cookies & sessions
We use a single signed session cookie (HttpOnly, Secure, SameSite=Lax) to keep you signed in. Mutating requests (logout, account disconnect) are additionally protected by an HttpOnly double-submit CSRF cookie. OAuth callbacks are protected by a one-time HMAC-signed state nonce — the standard CSRF guard for OAuth2.
One other first-party cookie, basis_ref, stores the referral handle from a shared link (for example ?ref=alice) for 30 days so the person who shared a profile gets credit when someone joins. It holds a public Basis username, never an identifier of the visitor.
We use Vercel Web Analytics to count page views and see which pages and referrers bring people in, and Vercel Speed Insights to measure real-world page load performance. Both are cookieless and send no cross-site identifiers: Web Analytics records the page path, referrer and an anonymous request fingerprint for the day, and Speed Insights records Core Web Vitals timings. Neither profiles you across other sites, and neither is shared with advertisers.
Security
Your Spotify access and refresh tokens are stored in the users table of our database. The refresh token stays valid until you disconnect (which revokes it at Spotify) or revoke Basis from your Spotify account settings. The session cookie is signed with an HMAC of AUTH_SECRET. OAuth callbacks are protected by a one-time HMAC-signed state nonce. Auth routes (login, logout, disconnect, callback) are protected by a Redis-backed rate limiter (10 requests per IP per minute).
The following security headers are set on every response: Strict-Transport-Security (HSTS, 2 years), X-Content-Type-Options (nosniff), Referrer-Policy (strict-origin-when-cross-origin), X-Frame-Options via Content-Security-Policy frame-ancestors 'none', and a Content-Security-Policy that restricts scripts/styles/images/connects to known-good sources.
Contact
Questions or data requests: contact@basisapp.co.uk. We respond within 30 days.
Stay in the loop
Want a reminder when Basis opens to everyone? Drop your email below — no spam, just one ping when we launch.