Step by step guide to configure Spotify as an OAuth Server

If you want to login to your WordPress site using your Spotify username and password, you can simply do it using our WP OAuth Client plugin. Once you configure the Spotify with WordPress plugin, you can sso/login to your WordPress site using Spotify credentials. This plugin also allows you to map your WordPress account different roles based on your Spotify attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.

Please follow the steps given below to configure your Spotify account with WordPress and setup the Single Sign On.

Guide to configure Spotify with WordPress :

    1. Go to https://developer.spotify.com/dashboard/applications and log into your Spotify account.
    2. You will be presented with following screen. Click on Create new App.spotify1
    3. You will be shown a popup with a form where you have to enter Application Details. Fill the form with appropriate information and click on Next.
      spotify2
      NOTE: Check Website in the question What are you building?
    4. Click on YES. You will be asked additional information about the application. Fill in appropriate information and click on NEXT. Then you will be asked if you agree to Terms and Conditions. Make sure you read them and then click on Submit.
      spotify3
    5. After creating the application, you will be brought to Application Management page. Click on Show Secret. Here you will find given Client ID and Client Secret.
      spotify4

    6. Copy these credentials in MO OAuth Plugin configuration on corresponding fields.
    7. Click on Edit Settings. You will get a pop up with app settings. scroll to Redirect URI add the same from MO OAuth Plugin and click on Save.
      spotify5
    8. You can download OAuth Client plugin using the following link.

OAuth Single Sign On – SSO (OAuth client)

 Spotify Endpoints and Scope:

Client ID : from the step 5 above
Client Secret : from the step 5 above
Scope: user-read-private user-read-email
Authorize Endpoint: https://accounts.spotify.com/authorize
Access Token Endpoint: https://accounts.spotify.com/api/token
Get User Info Endpoint: https://api.spotify.com/v1/me

If you are facing any difficulty please mail us on info@miniorange.com.