linkedin : Invalid redirect_uri. This value must match a URL registered with the API Key

后端 未结 7 644
攒了一身酷
攒了一身酷 2020-12-09 16:18

I am using \'omniauth-linkedin-oauth2\'.

When I am login with linkedin then I am getting this error

Invalid redirect_uri. This value must matc

7条回答
  •  萌比男神i
    2020-12-09 17:01

    I had this when trying to authorise from a zurb Reveal modal popup. In my case, the issue was the URL for the page that was being displayed in the popup was not in my OAuth2 Redirect URLs list on the LinkedIn developer site.

    That was easy to miss because the page URL from the page in the modal is not the URL that was currently showing in the browser's address bar. Once I added the URL for the page being shown in the pop up it worked.

提交回复
热议问题