Sign in with Discogs
Signing in with Discogs lets the app load your collection and wantlist and show your username in Profile. You need a Discogs account.
How to sign in
1. Open the app and go to Profile (bottom nav on mobile, top header on web). 2. Tap Sign in with Discogs. 3. A browser (or in-app browser) opens and asks you to log in to Discogs and approve "Left of the Dial." 4. After you approve, you're sent back to the app. Your Discogs username appears in Profile, and Collection and Wantlist begin syncing.
Web: The redirect goes to the same page you started from with a JWT token; the app stores it in localStorage and refreshes.
iOS / Android: The app opens a custom URL (`leftofthedial://auth/callback?token=...`) and stores the token securely in SecureStore.
If sign-in fails
- "Invalid or expired token" — Sign in again; the previous session may have expired.
- Redirect doesn't return to the app — On Web, ensure the backend's redirect URI matches the URL of your app. On Expo, the redirect URI must match the app's scheme (`leftofthedial://auth/callback`).
Sign out
1. Go to Profile. 2. Tap Sign out.
Your stored token is removed and cached data (collection, wantlist) is cleared. The app returns to demo mode until you sign in again. Connected services (MusicBrainz, Last.fm, Spotify) are tied to your account on the server; signing out only affects this device.