Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Spotify authentication

Spotify authentication lets your users sign in with their Spotify account.

Setup in the Spotify dashboard

  1. Go to the Spotify Developer Dashboard.
  2. Create an app (or open an existing one).
  3. 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 page in WeWeb.
  4. Copy your credentials (for example Client ID and Client Secret).

Connect Spotify in WeWeb

  1. In the WeWeb editor, go to Data & API → Auth → Integrating providers.
  2. Select Spotify and turn on the Enable toggle.
  3. Paste your credentials into the fields shown in WeWeb.
  4. Click Save.

Test sign in

  1. Add a “Continue with Spotify” button in Interface.
  2. Create a workflow on click and add Sign in with social provider.
  3. Set:
    • Provider: spotify
    • Success page, Error page, And (optional) New user page
  4. 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 WeWebDescriptionWhere to find it in Spotify
Client IDIdentifies your Spotify app.App settings in the Spotify dashboard.
Client SecretUsed 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.