Hi,
I was trying to use JSAPI for my appln integration with LinkedIn,
I am using : IN.UI.Authorize().place(); to authorize(to open popup) the user.
when user click on a link, calling this function which has the above code, when the fucntion invoked the popup opens with the address as https://platform.linkedin.com/js/xdrpc.html?v=0.0.1128-RC2.7511-1337&cac...
then redirecting to http://www.linkedin.com/home?goback= (which is a home link)
i have created my own api key, and provided the js domain as http://localhost:7101,http://127.0.0.1:7101,http://localhost
i also tried with single entry which is http://127.0.0.1:7101 and also with http://localhost:7101, either one showing the same issue.
Iam able to access my application locally by using either http://127.0.0.1:7101 or http://localhost:7101 in chrome browser.
in firefox its not opening any popup
Please suggest me, if iam missing anything here to get the popup opened to authorize the user.
thanks in advance...
-Shivaji
- Log in to post comments
Hi Shivaji,
The issue is that you shouldn't be calling IN.UI.Authorize.place() directly as it's a "private" method. The right method to call to trigger the authorization process is IN.User.Authenticate(). Calling it should get you the intended behavior you are looking for.
-Jeremy