Problems with LinkedIn Login Plugin

Has anyone solved this issue when trying to set up “Login with LinkedIn”?

I’m receiving this message:

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

Not sure what’s going on here.

Thanks in advance!

Dre

1 Like

Hi, I am having the same issue. I don’t know what to enter for the “OAuth 2.0 Authorized Redirect URLs” in LinkedIn settings. I’m assuming this requires us to publish from development version to a live version and then just use the page url?

Actually, I figured it out. Publish to a live version, then add the url of the app when you view it in your browser, to your My Apps area in LinkedIn. Go to My Apps area of LinkedIn Developer, then add the url or urls to the 2.0 URLs area. My urls looked like this “https://myappname.bubbleapps.io/pagename” and “https://myappname.bubbleapps.io/

Just for everyone else running into this problem: It’s not necessary to publish to live. This also works in development mode. You can also add multiple redirect uri’s, so one for live and one for your development version (/version-test/).

Once you figure out that the API key and secret code are reversed and not clearly labeled, you then need to add the exact URL’s that the bubble app request comes from into the oAuth 2.0 portion on linkedin. For both test and live.

I had initially assigned my pages as having “user” type content, so my url’s were showing user id numbers, but had to change this all because linkedin want to see a stable & complete URL and will not accept just the leading portion (which Facebook does. Am I wrong on this?)

If it’s multiple pages, then add multiple urls.

Then you’ll move onto the problem of linkedin signing you up, but not signing you in. Still working on this one.

Sam

you then need to add the exact URL’s that the bubble app request comes from into the oAuth 2.0 portion on linkedin

This is true and might be the reason some of us get errors. It’s unfortunate LinkedIn doesn’t allow wildcards like You are being redirected...

Is there a way to specify the redirect_uri you want LinkedIn redirect the signed in user after they authorize?

Right now it takes them back to the signup page after successful authorization and a few seconds later goes to the dashboard which is pretty confusing user experience.

Any insight would be very helpful

I get this error now:

This resource is no longer available under v1 APIs

Hi Sam I came to the problem and can’t figure it out. In linkedIn the seacret key is the one that is hidden and the api key is the ID client. Right?

Don’t understand what you mean with the multiple URL?

Hi maestro, I don’t understand this part
“URL’s that the bubble app request comes from into the oAuth 2.0 portion on linkedin”
Where can I see the exact URL? you mean the URL that comes on the Linkedin Authorize bug message?