Pinterest's official OAuth2 flow seemingly returns an invalid access token

前端 未结 2 1667
無奈伤痛
無奈伤痛 2021-01-06 12:32

I followed the Pinterest\'s instructions to authenticate a user and after completing step 2 I am holding an access token in my hands. However, when I use this access token t

2条回答
  •  北海茫月
    2021-01-06 12:52

    Zack Argyle from Pinterest just tweeted that they deployed a fix which solves the problem I described: https://twitter.com/zackargyle/status/648602180002312192

    Summing it up:

    • Follow the instructions on https://developers.pinterest.com/docs/api/authentication/
    • Pass the client_secret not in the first but in the second request
    • Use response_type=code in the first request

提交回复
热议问题