Hi, why don't u use passport for the local provider. U can create a polymer login component to handle the login. There is a good example of the usage of passport on the loopback side. The example is easily extensible for social providers as well.....
Best, MIchael Am Mittwoch, 6. Januar 2016 17:52:54 UTC+1 schrieb John Brosan: > > Hello everyone, > > I am new to Polymer and have been trying to get up to speed. I am > currently developing an API using the Loopback (Node.js/Express) framework > along with MongoDB and want to use Polymer 1.x as the frontend. I have > security setup on the Loopback application and it works as expected. I am > using the Polymer Starter Kit and would like to know how to add a login > page to the app. How and where should I check to see if a user is logged in > and redirect accordingly. I've been looking around and everything I see > uses Firebase, which is great, but its not something I am using right now. > > Any advice or help would be most appreciated. > > Thanks, > John > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/b8578b25-1b3b-4623-93bc-f6b35deac1dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
