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.6 to 1.0.7

2

package.json
{
"name": "spotify-auth-express",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

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

@@ -5,3 +5,3 @@

Instantiate and initialize a new Express API:
You can either initialize a new Express API:

@@ -17,3 +17,3 @@ ```js

Extend an existing Express API:
... or extend an existing one:
```js

@@ -30,17 +30,15 @@ const express = require('express')

})
app.listen(...)
```
And you get...
In return, you get:
```js
app.listen(...)
app.get('/spotify/auth', (req, res) => {
...
res.redirect('YOUR_REDIRECT_URL')
})
/**
app.get('/spotify/auth', (req, res) => {
...
res.redirect('YOUR_REDIRECT_URL')
})
*/
app.get('/spotify/callback/' ...)
app.get('/spotify/refresh/' ...)
```

@@ -47,0 +45,0 @@

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