ArkeologeN / node-linkedin

LinkedIn 2.0 wrapper in Node.js
MIT License
163 stars 78 forks source link

How to have the authentication show up as a pop up instead of new tab? #89

Open WilliamHuang1995 opened 5 years ago

WilliamHuang1995 commented 5 years ago

I'm trying to use your library with Vue.js. I can import the library no problem but instead of having a authURL and callback I would prefer to have it as a pop up but I'm having trouble figuring out how to turn it into a pop up. Any tips is appreciated. I've tried to manually make a pop up but that just seems like bad practice.
I've also considered to just use the javascript SDK provided by LinkedIn but it doesn't work well with Vue since I only need it in one of my components. Thanks in advance

acanimal commented 5 years ago

Here is a sample integrating Firebase with LinkedIn that uses a popup: https://github.com/firebase/functions-samples/blob/Node-8/linkedin-auth/public/popup.html