Socket
Socket
Sign inDemoInstall

spotify-auth-express

Package Overview
Dependencies
69
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "spotify-auth-express",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

# spotify-auth-express
> Plug-and-play Spotify OAUTH flow for Express.
### Plug-and-play Spotify OAUTH flow for Express.
> Instantiate and initialize a new Express API.
```js
// Instantiate and initialize a new Express API.
const spotify = require('spotify-auth-express')

@@ -13,6 +14,6 @@

})
```
...
// Extend an existing Express API.
> Extend an existing Express API.
```js
const express = require('express')

@@ -32,3 +33,3 @@ const spotify = require('spotify-auth-express')

/**
*
app.get('/spotify/auth', (req, res) => {

@@ -38,7 +39,7 @@ ...

})
*/
*/
```
### Configuration
#### Configuration

@@ -56,3 +57,3 @@ The following optional keys can be passed in addition to your application & client IDs:

* gzip | `Boolean` | default: true`
* redirect | `String` | default: \``http://localhost:${config.port || DEFAUL_PORT}${config.root || DEFAULT_ROOT}${config.redirect || DEFAULT_REDIRECT}`
* redirect | `String` | default: \``http://localhost:${config.port || DEFAUL_PORT}${config.root || DEFAULT_ROOT}${config.redirect || DEFAULT_REDIRECT}`\`
* accessTokenKey | `String` | default: `'SPOTIFY_ACCESS_TOKEN'`,

@@ -59,0 +60,0 @@ * refreshTokenKey | `String` | default: `'SPOTIFY_REFRESH_TOKEN'`,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc