Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 372
user3716227 Avatar asked Jun 11 '14 05:06

user3716227


1 Answers

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

like image 85
acmeira Avatar answered Oct 22 '22 00:10

acmeira