react-linkedin-sdk icon indicating copy to clipboard operation
react-linkedin-sdk copied to clipboard

Edge browser has SCRIPT70: Permission denied xdrpc.html after authentication in Linkedin popup

Open shenba1296 opened this issue 6 years ago • 9 comments

I am using the React Linkedin SDK to handle a form that users can populate from their Linkedin accounts.

Here is what's happening:

User reaches page and clicks "populate form from linkedin" button Linkedin JS auth popup opens User enters credentials Popup redirects to https://platform.linkedin.com/js/xdrpc.html Nothing loads and authentication cycle does not complete, though Linkedin the login succeeds. If this is done with the console open in the popup, you will see: SCRIPT70: Permission denied xdrpc.html

The Edge team claimed to have fixed a similar issue that was affecting 3rd party logins. See https://support.microsoft.com/en-us/help/4074588/windows-10-update-kb4074588. I am using that version of Edge though and this problem still occurs.

shenba1296 avatar Oct 24 '18 12:10 shenba1296

When I get home I will test it on my windows PC to see if I can replicate the error and fix it! Thanks for reporting it!

JeffersonFilho avatar Oct 24 '18 13:10 JeffersonFilho

I can confirm that this error is happening to me as well, I will see if I can fix it sometime this week! Thanks for reporting!

JeffersonFilho avatar Oct 25 '18 12:10 JeffersonFilho

Thanks for your quick update.

shenba1296 avatar Oct 26 '18 05:10 shenba1296

Any updates?

cfmitrah avatar Nov 19 '18 07:11 cfmitrah

Sorry for the delay on this! I will see if I can fix this error this week!

JeffersonFilho avatar Nov 21 '18 13:11 JeffersonFilho

Any updates?

btastic avatar Dec 06 '18 10:12 btastic

I'm having issues installing edge on my mac so I can finally fix this issue for all, I did some digging on this and is because edge will block any scripted loaded on .src that is from 'someone' else which it is in this case: https://github.com/JeffersonFilho/react-linkedin-sdk/blob/master/src/Linkedin/Linkedin.js#L50 so the solution for this problem would be the package itself host this js file.

JeffersonFilho avatar Dec 12 '18 12:12 JeffersonFilho

I am still facing this error. Can I know when will this be fixed?

cfmitrah avatar Jan 24 '19 05:01 cfmitrah

I'm currently travelling, as soon I get back home I will see if I can fix this issue for good! I haven't fixed it yet is because I'm having issues installing Edge on my mac so I can debug, sorry about the delay on this.

JeffersonFilho avatar Jan 25 '19 13:01 JeffersonFilho