Error: invalid redirect_uri.
-
Hello!
First of all, I’ve been looking for a plugin like this! Thanks for reading my mind.
I’m trying to activate the plugin, and I keep getting this error message:
invalid redirect_uri. This value must match a URL registered with the API Key.
I’ve double checked LinkedIn Developers website URL, the secret and client IDs, and my company ID. Not sure what else to look for….
Thanks in advance!
-
Hi pliantsol,
2 things to check:
– Do you have ‘rw_company_admin’ checked in the linkedin.com app?– For the redirect URL you need to
- copy the ‘Redirect URL’ link provided by my plugin
- paste it to the OAuth 2.0 ‘Authorized Redirect URLs’ in the linkedin.com app
- click add
- update the linkedin app
Do you have the Redirect URL saved in the linkedin app?
For you the redirect url should probably look like:
https://pliantsolutions.com/wp-admin/options-general.php?page=linkedin_recent_updatesAfter you check these try to regenerate the access token and see if it works then.
Thanks,
AndrewAndrew,
Yes, I’ve done all of that. I just double checked and tried to authorize again, but it’s still not working. I’m getting the same error.
What next?
Thanks!
PamelaCould I take a look at the backend? You can contact me here:
[email protected]By the way where did this URL come from, is this the page where you got the error notice? :
https://www.linkedin.com/company/5056477?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A5056477%2Cidx%3A2-1-2%2CtarId%3A1453736981248%2Ctas%3Apliant%20solutionFor anybody looking here with the same problem:
– If you have https, make sure your “WordPress Address (URL)” is also https.
– You can find that field in the admin section under Settings->General.– If you can’t edit the URL, you’ll need to edit wp-config.php, look for this:
define(‘WP_HOME’, ‘http://website.com’);
The topic ‘Error: invalid redirect_uri.’ is closed to new replies.