Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: add Meteor login with third party auth providers. #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kponda
Copy link

@kponda kponda commented Dec 3, 2016

I use meteor custom login with postgresql.

This function is simple, call "login" with any parameters.
It's like a Asteroid style.
https://github.com/mondora/asteroid#loginparams

@ocram
Copy link
Contributor

ocram commented Dec 4, 2016

Thank you!

Just one question: How do you set up the server-side code that listens for logins with this method? Do you use Accounts.registerLoginHandler to register your own function that pulls data from the data map that has been passed?

@kponda
Copy link
Author

kponda commented Dec 5, 2016

Hello,

Yes, I used Accounts.registerLoginHandler.
I did push own sample code to github.

https://github.com/kponda/samples/blob/master/MeteorCustomLogin/custom-accounts_server.js

Login with postgresql and create/update Meteor user collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants