私は適用してconnect with linkedin
います。ステップバイステップガイドに従っています。ユーザーを認証するために、私はこれから助けを借りました。
ユーザーがボタンをクリックするconnect with linkedin
と、LinkedInのログインページに移動します。ユーザーがアカウントへのアクセスを許可すると、ユーザーは次の場所にリダイレクトされます。
https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=1ba8ogpm9e05&scope=r_basicprofile%20r_emailaddress&state=STATE&redirect_uri=http://127.0.0.1:8088/sandbox/linkedin/test.php
これにより、認証コードを取得します。そしてそれを次のURLに渡します
https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&code=AUTHORIZATION_CODE&redirect_uri=http://127.0.0.1:8088/sandbox/linkedin/final.php&client_id=1ba8ogpm9e05&client_secret=n7GN09I3F2L3IJD1
ここで、エラーが発生します。
"error":"invalid_request","error_description":"missing required parameters, includes an invalid parameter value, parameter more then once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired"
どこが間違っているのですか?APIキーと秘密キーを再確認しました。