Appearance
Spotify authentication
Spotify authentication lets your users sign in with their Spotify account.
Setup in the Spotify dashboard
- Go to the Spotify Developer Dashboard.
- Create an app (or open an existing one).
- In the app settings, add a redirect URL (the URL Spotify sends users back to after login).
- Use the full URL of the page you select as
Success Pagein WeWeb.
- Use the full URL of the page you select as
- Copy your credentials (for example
Client IDandClient Secret).
Connect Spotify in WeWeb
- In the WeWeb editor, open the
Data & APItab, then open theAuthenticationsubtab and go toSSO Providers. - Select
Spotifyand turn on theEnabletoggle. - Paste your credentials into the fields shown in WeWeb.
- Click
Save.
Test sign in
- Add a “Continue with Spotify” button in
Interface. - Create a workflow on click and add
Sign in with social provider. - Set:
Provider:spotifySuccess Page,Error Page, And (optional)New User Page
- Preview and complete the sign-in flow.
Common pitfalls
Redirect URL mismatch
Make sure the redirect URL in Spotify exactly matches the Success Page URL you selected in WeWeb.
Reference
| Setting in WeWeb | Description | Where to find it in Spotify |
|---|---|---|
Client ID | Identifies your Spotify app. | App settings in the Spotify dashboard. |
Client Secret | Used to complete the sign-in flow securely. | App settings in the Spotify dashboard. |
FAQs
Which redirect URL should I add in Spotify?
Use the full URL of the page you choose as Success Page in Sign in with social provider.

