Invalid redirect URI on spotify auth

前端 未结 11 1247
日久生厌
日久生厌 2021-02-03 16:56

I try to auth user through my app with spotify Web API but I receive this error:

INVALID_CLIENT: Invalid redirect URI

URL:

GET         


        
11条回答
  •  攒了一身酷
    2021-02-03 17:46

    I ran into a similar issue when authenticated via Authorization Code Flow.

    Per the docs The value of this parameter must exactly match the value of redirect_uri supplied when requesting the authorization code. So make sure that the:

    1. redirect_uri that is configured in the dashboard
    2. redirect_uri in the GET https://accounts.spotify.com/authorize
    3. redirect_uri in the POST https://accounts.spotify.com/api/token

    is exactly the same or else you will get a INVALID_CLIENT: Invalid redirect URI

提交回复
热议问题