Search code examples
meteorlinkedin-apimeteorite

Meteor linkedin accounts , redirect_uri error


I have registered application in linkedin and gave oauth2 redirect_url as http://localhost:3000/

Then, I have added accounts-linkedin service and added it's depenencies accounts-base,accounts-oauth,linkedin

I added loginButtons template and gave my id and secret in the fields

Now, when I try to login to the app I'm getting the following error

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

Is there anything I've missed?


Solution

  • Use http://lvh.me:3000/_oauth/linkedin?close as your oauth redirect URL.