
Validate flow with sample Client Application For the website, use “ and add a Redirect URI “ and press “Save”. Press the “Edit Settings” button to configure the application for our local test. You need to save these values for our testing later. This will show you the OAuth2 client ID and OAuth2 client secret.

Use the name and description “spotifytest1”, check the agreement box, and press “Create”.Īfter pressing the Create button, you will be taken to the Application page.

Create an ApplicationĪs described in the documentation, press the “Create an App” button. Sign in to the Spotify Developer Dashboard at.

Install a local Docker daemon for our smoke tests.Sign up for a free account from the Spotify Developer site, click on “Sign up for a free Spotify account here”.We will then use a small, local Docker image to implement the Client Application side and smoke test the solution. In this article, I will show how to use the Spotify Dashboard to configure an Application that can support OAuth2. Note that this is not intended for centralized authentication, and does not implement OIDC. (/rbd/pnpm-volume/37a9ff37-7b41-4ce1-8a0c-c9be7ea1c978/node_modules/spotify-web-api-node/node_modules/superagent/lib/node/unzip.js:53:12)Īt endReadableNT (internal/streams/readable.js:1334:12)Īt processTicksAndRejections (internal/process/task_queues.Spotify allows users or systems to access their data and features via OAuth2.

That’s in Chrome console, and this is in the Glitch terminal: Error getting Tokens: WebapiAuthenticationError: An authentication error occurred while communicating with Spotify's Web API.ĭetails: invalid_request code must be supplied.Īt _toError (/rbd/pnpm-volume/37a9ff37-7b41-4ce1-8a0c-c9be7ea1c978/node_modules/spotify-web-api-node/src/http-manager.js:43:12)Īt /rbd/pnpm-volume/37a9ff37-7b41-4ce1-8a0c-c9be7ea1c978/node_modules/spotify-web-api-node/src/http-manager.js:71:25Īt Request.callback (/rbd/pnpm-volume/37a9ff37-7b41-4ce1-8a0c-c9be7ea1c978/node_modules/spotify-web-api-node/node_modules/superagent/lib/node/index.js:905:3)Īt /rbd/pnpm-volume/37a9ff37-7b41-4ce1-8a0c-c9be7ea1c978/node_modules/spotify-web-api-node/node_modules/superagent/lib/node/index.js:1127:20Īt IncomingMessage. Refused to frame '' because it violates the following Content Security Policy directive: "frame-src 'self' blob: data:". Trying to authorize my app to use my Spotify account, but I keep getting this for /login:
