GravityProject / gravity

Open source social network built with Meteor
MIT License
131 stars 62 forks source link

signup and login with google, facebook, twitter, github et al #35

Open drgorb opened 8 years ago

drgorb commented 8 years ago

With all the online profiles I allready have, it would be nice to being able to reuse one of them to create a profile on gravity.

maybe G+ and Facebook are not the best choice as they are competitors but twitter and Github definitely are and OpenID should be an option.

pmuens commented 8 years ago

Good idea! Thanks for the input!

michaltakac commented 8 years ago

With current useraccounts package it's fairly easy to implement: https://github.com/meteor-useraccounts/core/blob/master/Guide.md#3rd-party-login-services-configuration

Question is - will it merge multiple social logins/signups from same user together? Well, there's package for it: https://atmospherejs.com/splendido/accounts-meld

pmuens commented 8 years ago

Thanks. I would highly recommend the merging process. Otherwise users may not remember that the already have an account or have already signed in with a different provider.

zaverichintan commented 8 years ago

Is someone working on it?

mattvella07 commented 8 years ago

I completed the closed issue #55 that allowed users to link their social media accounts to their profile, but this is different. So I don't think anyone is working on this one.

zaverichintan commented 8 years ago

That was to link the accounts after signing in and adding links to the text box. This is regarding sign up and login. Correct me if I am wrong

mattvella07 commented 8 years ago

Yes

mattvella07 commented 8 years ago

If you want to work on this one, I came across these packages that you could probably use:

zaverichintan commented 8 years ago

hey, Kindly create application in github, and respective facebook and google account so that meteor can use its auth key .

pmuens commented 8 years ago

Great! Could you provide the keys via Slack? BTW. Do you have heroku? Then I can add you and you can deployments anytime.

zaverichintan commented 8 years ago

Yes, I am there on heroku my ID is zaveri_chintan@rediff.com . There's one issue here, how should I add {{loginbuttons}} in template or in router something like this

AccountsTemplates.configure({ defaultTemplate: 'Auth_page', defaultLayout: 'App_body', defaultContentRegion: 'main', defaultLayoutRegions: {} });

I am working around with client/lib/accounts/config.js and refering http://guide.meteor.com/accounts.html

pmuens commented 8 years ago

Have added you as a collaborator on Heroku.

pmuens commented 8 years ago

We're using the useraccounts package so simply adding the meteor related packages should do the trick.

zaverichintan commented 8 years ago

It's not happening that way. We need to add it to our view part by adding it in template or in routes.

pmuens commented 8 years ago

Then I would add it to the template rather than the route

zaverichintan commented 8 years ago

Oh where will I find the sign in template? We are using accounts package and just configuring the messages.