From ebd8bdbdf3e10c0105166de8bd7468f031c075f7 Mon Sep 17 00:00:00 2001 From: meeranbayas Date: Fri, 20 Jan 2017 15:17:49 +0530 Subject: [PATCH] Linked in bug fix Error: You must specify a valid JavaScript API Domain as part of this key's configuration. I had to make this change in order to fix the above error and everything works fine now. --- angularjs-social-login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs-social-login.js b/angularjs-social-login.js index 8b05ff3..6e14b4b 100644 --- a/angularjs-social-login.js +++ b/angularjs-social-login.js @@ -50,7 +50,7 @@ socialLogin.provider("social", function(){ var lIN, d = document, ref = d.getElementsByTagName('script')[0]; lIN = d.createElement('script'); lIN.async = false; - lIN.src = "//platform.linkedin.com/in.js?async=false"; + lIN.src = "//platform.linkedin.com/in.js"; lIN.text = ("api_key: " + linkedInKey).replace("\"", ""); ref.parentNode.insertBefore(lIN, ref); },