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

后端 未结 7 662
攒了一身酷
攒了一身酷 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条回答
  •  星月不相逢
    2020-12-09 16:50

    Worth mentioning when one uses libraries to handle oauth: some libraries fail to care about the protocol that is used (or at least require further parametrization). Eg, I gave Linkedin https://example/callback as oauth2 url, but the library sent the request with http://example/callback as parameter.

提交回复
热议问题