

See RFC-6749.Ī space-separated list of scopes.If no scopes are specified, authorization will be granted only to access publicly available information: that is, only information normally visible in the Spotify desktop, web, and mobile players. This provides protection against attacks such as cross-site request forgery. The value of redirect_uri here must exactly match one of the values you entered when you registered your application, including upper or lowercase, terminating slashes, and such. This URI needs to have been entered in the Redirect URI allowlist that you specified when you registered your application (See the app settings guide). The URI to redirect to after the user grants or denies permission. The Client ID generated after registering your application. To do so, our application mustīuild and send a GET request to the /authorize endpoint with the following To the Spotify resources in behalf that user. The first step is to request authorization from the user, so our app can access

You can find an example app implementing authorization code flow on GitHub in This guide assumes that you have created an app following the app settings The following diagram shows how the authorization code flow works: Keep reading to learn how to correctly implement it. Of application where the client secret can’t be safely stored, then you should If you’re using the authorization code flow in a mobile app, or any other type webĪnd mobile apps) where the user grants permission only once.

The authorization code flow is suitable for long-running applications (e.g. Distribution Requirements Distribution Requirements.Commercial Hardware Commercial Hardware.App Remote SDK and the Application Lifecycle.Authorization Guides Authorization Guides.
