JeffersonFilho / react-linkedin-sdk

MIT License
28 stars 11 forks source link

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

Open shenba1296 opened 5 years ago

shenba1296 commented 5 years ago

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.

JeffersonFilho commented 5 years ago

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 commented 5 years ago

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!

shenba1296 commented 5 years ago

Thanks for your quick update.

cfmitrah commented 5 years ago

Any updates?

JeffersonFilho commented 5 years ago

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

btastic commented 5 years ago

Any updates?

JeffersonFilho commented 5 years ago

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.

cfmitrah commented 5 years ago

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

JeffersonFilho commented 5 years ago

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.