Skip to content

edvanbeinum/web-api-self-provisioning-exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic example for authenticate against the Spotify Web API

Authorization Code Flow

This is a small node.js script that authenticates a user using the authorization code flow and fetches data from the Spotify Web API.

Prerequisites

  • Node.js - Download and Install Node.js. You can also follow this gist for a quick and easy way to install Node.js and npm

Tools Prerequisites

  • NPM - Node.js package manager, should be installed when you install node.js.

Quick Install

The quickest way to get started is to clone the project and utilize it like this:

Install dependencies:

$ npm install

Add your client key and secret to config/shared.js

Run the server

$ node app.js

Browse http://localhost:8888/login

$ open http://localhost:8888/login

Once you have done the oAuth dance, check the console for the access token

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published