![]() ![]() Since we are running the project locally, our redirect URL will point to localhost:3000/auth/callback since all petitions are handled from the frontend. redirect_uri is the URL that Spotify's Authorization server will redirect once the access token is granted.We need permission for streaming, user-read-email and user-read-private for the Web Player SDK. scope, a space-separated list of actions that our app can be allowed to do on a user's behalf.client_id, is the Client ID of the application we have just created on the portal dashboard.response_type, is the credential that will be returned.Spotify account service with the following parameters: To do so, we need to send a GET request to the /authorize endpoint of the Grant our application access to their premium account. The first step is to redirect the user to a web page where they can choose to
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |