Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialorbyt
10,358 PointsUser Authentication with Electron
Hi all,
I have a desktop chat application that i'm working on, built with Electron. I need to implement some kind of user system to enable people to log in and out.
Currently, the desktop app communicates with a node.js server via socket.io to send chat messages.
I have two questions:
- How can I implement a user authentication system to let users log in to their accounts while on the desktop app?
- The third part of this system is a seperate Meteor.js app. Meteor comes with a great accounts system by default. Is there a way to log in users from the Electron app by authenticating against the backend Meteor app?