# Issues with the LinkedIn social connection

**URL:** <https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649>\
**Category:** Get Help\
**Tags:** linkedin, login, auth0\
**Created:** [September 14, 2021, 8:24pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649 "2021-09-14T20:24:25Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 14, 2021, 8:24pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/1 "2021-09-14T20:24:26Z")

</div>

Hi!  
We use auth0 in our mobile application and are having issues with the LinkedIn social connection. Starting a few days ago, when a user choses “log in with Linkedin”, the user is sent in to the Linkedin mobile app (if they have it installed) and not back to our application. If the Linkedin mobile app is not installed on the device it works fine. Any ideas what could have happened?

This is super crucial for our product because our users cant login and also the candidates applying for jobs cant do that from the Linkedin option. Anyone else that has experience from this?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 15, 2021, 6:00am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/3 "2021-09-15T06:00:28Z")

</div>

Hi @linus.andersson,

Welcome to the Auth0 Community!

I understand that you are encountering issues with authentication using the LinkedIn Social Connection.

To help me understand the problem better, I have some clarifying questions.

First, could you please clarify if you have configured your [callback URL](https://auth0.com/docs/login/redirect-users-after-login) properly? The callback URL redirects your users back to your application after being successfully authenticated.

And, could you clarify whether your intended flow is to have a [browser-based login flow or native login flow](https://auth0.com/docs/best-practices/mobile-device-login-flow-best-practices)?

---

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 15, 2021, 8:41am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/4 "2021-09-15T08:41:56Z")

</div>

Hi Rueben,

Thanks for your answer!

The callback has worked for a long time and this issue only happens fore some, it still works for others – so that should not be the problem right?  
We have a browser-based flow.

We have not done any changes in our product or our Auth0 settings recently (and the problem only and usually occurs when you have the Linkedin app installed on your phone), so we wonder if it has to do with an update of linkedins app.

Thanks for the quick response!  
Linus

---

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 15, 2021, 10:03am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/5 "2021-09-15T10:03:57Z")

</div>

Hi again,  
Here comes some more info.

When I dont have the Linkedin app installed on my phone, Im sent to Linkedins webb login. That works.  
But when the LInkedin app is installed Im sent to some form of app-login instead, then it does not work. See pictures. Hope that helps.

 ![Image from iOS](https://global.discourse-cdn.com/auth0/original/3X/b/c/bc7e11a9c64e92651197b8dc53356ab3ce3a90d2.jpeg)  
 ![Image from iOS (1)](https://global.discourse-cdn.com/auth0/original/3X/3/4/34b53b61443ba659e6196d24f68a820151e46da5.jpeg)

---

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 16, 2021, 2:29pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/6 "2021-09-16T14:29:10Z")

</div>

Hi @rueben.tiow

Here comes the issue with more info and slightly re-frased (new things in the bottom):

We are having issues with the LinkedIn social connection. Probably starting with Linkedins update to the version 9.1.234. Still the same issue on version 9.1.235. When a user choses “log in with Linkedin”, the user is sent in to the Linkedin mobile app (if they have it installed) and not to LinkedIn’s login form. This problem started when Linkedin updated their app. If the Linkedin mobile app is not installed on the iOS device, it works fine.

This is super crucial for our product because our users cant login and also the candidates applying for jobs cant do that from the Linkedin option.

We have a browser-based flow and have not done any changes in our product or our autentification service (Auth0) recently (and the problem only occurs when you have the Linkedin app installed on your phone).

When I dont have the Linkedin app installed on my phone, Im sent to Linkedins webb login. That works. But when the LInkedin app is installed Im sent to some form of app-login instead, then it does not work.

* * *

To reproduce the issue, simple visit this link from an iOS device with the LinkedIn mobile app installed:

> **[LinkedIn: Log In or Sign Up](http://www.linkedin.com/)**
>
> 750 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.

Since the oauth parameters are valid, this link redirects to a url similar to

> **[Sign Up | LinkedIn](https://www.linkedin.com/signup/cold-join?session_redirect=%2Foauth%2Fv2%2Flogin-success%3Fapp_id%3D7943483%26auth_type%3DAC%26fl&trk=login_reg_redirect)**
>
> 500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.

It is this link that opens the installed app instead of just continuing in the web browser and then the oauth dance stops abruptly since the app cannot communicate any authentication code back to the browser.

The bug could be caused either by previously not using the [LinkedIn Login, Sign in | LinkedIn](https://www.linkedin.com/login) redirect or by the iOS app flags being changed to “own” the [LinkedIn Login, Sign in | LinkedIn](https://www.linkedin.com/login) url path for deep-linking.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 17, 2021, 12:32am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/7 "2021-09-17T00:32:31Z")

</div>

Hi @linus.andersson,

After collaborating with our teams, we discovered that this is an issue with LinkedIn producing a Universal Link and opening the LinkedIn mobile app.

Unfortunately, there is nothing we can do on our end to fix this. We apologize for any convenience this may have caused you or your end-users. We are currently working to find a resolution on this issue as soon as we can.

Meanwhile, your end-users can continue authentication onto your Application with a workaround that does not involve uninstalling the LinkedIn mobile app:

1. Open Safari
2. Type “LinkedIn” in the Safari search bar to pull up the search result
3. Tap on the LinkedIn search result link
4. Select “cancel” when a dialogue opens asking if you want to open the LinkedIn app
5. Navigate back to the app and login successfully with LinkedIn without opening the LinkedIn app

---

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 17, 2021, 8:04am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/8 "2021-09-17T08:04:16Z")

</div>

Thanks Rueben!

I understand. Thanks for the workaround even if it will not delight our users 🙂

Lets hope LInkedin updates their app, and please let us know if you find any other solution from your side. Might be a good idea that you also contact Linkedin to make them aware that this issue should be highly prioritized?

Thanks!  
Linus

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 17, 2021, 5:20pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/9 "2021-09-17T17:20:38Z")

</div>

Hi @linus.andersson,

Thank you for making these suggestions. We have escalated this to our Engineering teams to address the problem. They will be in contact with LinkedIn Support to work on a resolution.

As soon as there are any updates, I will be sure to relay that information to you.

Thank you.

---

<div class="post-metadata">

**Author:** ![andrew16](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andrew16/32/12751_2.png) [@andrew16](https://community.auth0.com/u/andrew16)\
**Post date:** [September 18, 2021, 12:57am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/10 "2021-09-18T00:57:01Z")

</div>

I just wanted to add that we are experiencing the same issue.

---

<div class="post-metadata">

**Author:** ![danieldixon](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/danieldixon/32/31815_2.png) [@danieldixon](https://community.auth0.com/u/danieldixon)\
**Post date:** [September 18, 2021, 6:27pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/11 "2021-09-18T18:27:57Z")

</div>

+1 to this thread as we’re experiencing the same problem

---

<div class="post-metadata">

**Author:** ![tlays11](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tlays11/32/12951_2.png) [@tlays11](https://community.auth0.com/u/tlays11)\
**Post date:** [September 20, 2021, 2:52pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/12 "2021-09-20T14:52:34Z")

</div>

Same issue as well. We just disabled LinkedIn for now which is not ideal.

---

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 20, 2021, 4:39pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/13 "2021-09-20T16:39:51Z")

</div>

Thanks Rueben,  
Did you get any time estimation on when Linkedin should have this solved? Have they said anything? We need to communicate with our customers.  
Thanks!  
Linus

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 20, 2021, 6:29pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/15 "2021-09-20T18:29:19Z")

</div>

Hello @andrew16, @danieldixon, @tlays11, and @linus.andersson,

I have received all of your messages regarding this situation.

Since my last update, there has not been any new information from our Engineering teams.

I have escalated this case and I will keep everyone posted on the next update.

Thank you for your continued patience.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 21, 2021, 9:19pm UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/16 "2021-09-21T21:19:48Z")

</div>

Hello @andrew16, @danieldixon, @tlays11, and @linus.andersson,

I have great news!

LinkedIn has resolved the issue. Your end-users should now be able to authenticate with the LinkedIn Social Connection without any breaking behavior.

Thank you for being patient while we worked through this situation!

Please let me know if there’s anything else I can do to help. I would be happy to assist.

---

<div class="post-metadata">

**Author:** ![linus.andersson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/linus.andersson/32/12931_2.png) [@linus.andersson](https://community.auth0.com/u/linus.andersson)\
**Post date:** [September 22, 2021, 8:25am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/17 "2021-09-22T08:25:06Z")

</div>

Thank you so much for the help!  
Have a great day!  
Linus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 7, 2021, 8:25am UTC](https://community.auth0.com/t/issues-with-the-linkedin-social-connection/69649/18 "2021-10-07T08:25:17Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
