A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.spotify.com/documentation/web-api/concepts/authorization below:

Authorization | Spotify for Developers

Authorization

Authorization refers to the process of granting a user or application access permissions to Spotify data and features (e.g your application needs permission from a user to access their playlists).

Spotify implements the OAuth 2.0 authorization framework:

Where:

The access to the protected resources is determined by one or several scopes. Scopes enable your application to access specific functionality (e.g. read a playlist, modify your library or just streaming) on behalf of a user. The set of scopes you set during the authorization, determines the access permissions that the user is asked to grant. You can find detailed information about scopes in the scopes documentation.

The authorization process requires valid client credentials: a client ID and a client secret. You can follow the Apps guide to learn how to generate them.

Once the authorization is granted, the authorization server issues an access token, which is used to make API calls on behalf the user or application.

The OAuth2 standard defines four grant types (or flows) to request and get an access token. Spotify implements the following ones:

Which OAuth flow should I use?

Choosing one flow over the rest depends on the application you are building:

The following table summarizes the flows' behaviors:

FLOW Access User Resources Requires Secret Key (Server-Side) Access Token Refresh Authorization code Yes Yes Yes Authorization code with PKCE Yes No Yes Client credentials No Yes No Implicit grant Yes No No

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4