tim4
May 4, 2020, 4:01am
1
Hey Bubblers,
I am trying to integrate Linkedin into my signup but have hit a brick wall… I have tried everything and followed all the advice from other blogs from up to 5 years ago and nothing seems to work.
Basically, after a user clicks my “signup with linkedin” button, it comes up with an error message of “The redirect_uri does not match the registered value”
The client key and secret are absolutely 100% inputted correctly, and after following bubble’s general “https://example.com/api/1.1/oauth_redirect ” and numerous other strings I can still not get it to work.
The URL string I am getting looks like this:
https://www.linkedin.com/uas/oauth2/authorization?client_id=86ue516neqpjuk&redirect_uri=https%3A%2F%2Fmyapp%2F&response_type=code&state=%7B%22oauth_provider%22%3A%22linkedin%22%2C%22resume_key%22%3A%221588564384262x602218987059533300%22%2C%22used_redirect_url%22%3A%22https%3A%2F%2Fmyapp.io%2F%22%7D&scope=r_liteprofile "
Would really appreciate any help with this!
Regards,
Tim
Jici
May 4, 2020, 4:23am
2
Be sure that the redirect_uri is the same in your request and in your app setting in linkedin dev
Jici
May 4, 2020, 4:24am
3
Also, why don’t use the Bubble oAuth2 auth in API Connector??
Decoding the URL … (https://meyerweb.com/eric/tools/dencoder/ )
https://www.linkedin.com/uas/oauth2/authorization?client_id=86ue516neqpjuk&redirect_uri=https://myapp/&response_type=code&state={"oauth_provider":"linkedin","resume_key":"1588564384262x602218987059533300","used_redirect_url":"https://myapp.io/"}&scope=r_liteprofile
Doesn’t look like a proper redirect URL.
tim4
May 4, 2020, 10:07am
5
Thanks for the reply jici! How can I see redirect_uri in the request?
Also, do you know of any guides to help with the API Connector?
Cheers
tim4
May 4, 2020, 10:08am
6
I changed a few characters
I have exactly the same problem. Did you solve it?
1 Like
Jici
May 4, 2020, 4:19pm
8
So actually you are not using the API connector for that?
1 Like
Boost
May 4, 2020, 8:23pm
9
Following, I’m having the same problem
1 Like
tim4
May 4, 2020, 10:30pm
10
I am using Bubble’s LinkedIn Plugin
Jici
May 4, 2020, 10:31pm
11
ha! Sorry. I don’t know how the plugin work in this case.
tim4
May 4, 2020, 10:34pm
12
No problem! I will try the API connector today based on your advice, thanks
1 Like
Boost
May 4, 2020, 11:10pm
14
Something’s wrong with the link that Bubble gave us
Boost
May 4, 2020, 11:11pm
15
It hasn’t made a difference for me, plugin vs no plugin. Gotta be the redirect URL / URI
tim4
May 5, 2020, 12:11am
16
Yeah that is what i’ve been thinking… frustrating hey!
1 Like
Jici
May 5, 2020, 12:29am
17
Can you share setting in API connector and in Lindkedin APP configuration?
Boost
May 6, 2020, 8:36pm
18
Hey Tim,
Figured it out for the plugin at least.
Use this for your LinkedIn redirect URL: https://project .bubbleapps.io/version-test/page ?debug_mode=true
The bolded part is where you input your project details.
I’m still figuring out a solution for the API connector, since the connector can scope more data than the plugin.
2 Likes
The API Key value generated when you registered your application.
system
Closed
May 18, 2020, 4:01am
20
This topic was automatically closed after 14 days. New replies are no longer allowed.