Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
login with Twitter and/or GitHub credentials #2382
Do you want to request a feature or report a bug?
I would like to be able to login with Twitter and/or GitHub credentials (for community of developers login with GitHub credentials is great).
Implementation hints: There might be different ways to implement it:
Many projects already use Firebase SDK.
It may be that existing Coralproject functionality described here https://docs.coralproject.net/talk/integrating/authentication/
As far as I understand -- at the moment you can not login with Twitter or GitHub credentials
Thanks in advance
The site audience -- developers -- they all have Github accounts... so it make sense to give them Github login. Twitter also make sense
Hey Dmitri! In this case, we'd highly advise to create your own auth plugin and use SSO with Firebase. You can follow the Auth Docs you linked to above, and also use our SSO plugin recipe, which can act as a template: https://github.com/coralproject/talk-recipes/tree/master/plugins/custom-auth
If you'd rather create 2 social login plugins separately, one for Github and one for Twitter, you can use our Facebook auth plugin as a template: https://github.com/coralproject/talk/tree/master/plugins/talk-plugin-facebook-auth
You're only a backend developer until you write your first line of JS, as they say ;) A lot of folks who are limited in their JS experience or even dev experience have been able to build plugins, and we have some tutorials in our docs. That's all to say, it might be worth trying!
I'm with @stargazer33 on this simple observation: Coral looks "pretty" but is a complete mess from a design and engineering backend perspective. Its backend is a disaster (i.e. requiring Docker is always wrong), the documentation for actually customizing it is basically non-existent, and the example for "custom" SSO shows how to do JWT but is meaningless since it lacks demonstrating true custom and enterprise SSO integrations.
This is my second attempt to foray into this software and it is still a giant wreck. If you want people to deploy software like this across disparate environments, it needs to be braindead simple to deploy, modify, and vet. This project is most definitely none of those. I've written multiple 20,000+ line applications (with actual SSO!) without any difficulty but this comparatively tiny project just hurts my head to look at. I'd roll my own similar solution in just a few days' time if there weren't orders from on high to use this very specific project and only this project. It'll take me far longer to figure out how to get SSO working than it would take me to roll my own solution from scratch.
Hey @tucson-tom, thank you for the feedback and being so frank, we're always open to other developers' opinions - especially those with your experience.
There's a couple different options we can offer you if you're stuck. First off, we're more than happy to host Coral for you; if you're interested, you can fill out this form for a quote: https://airtable.com/shrL2EtHR1zvJv4gw.
Secondly, we'd be happy to sit down with you and your team and see how we might be able to help you get Coral up and running on your own. You can reach us at support at coralproject dot net for more guidance there.
Otherwise, it is open source with nearly 100 other contributors - we'd be happy to consider any additions you'd like to contribute.
Let us know how we can best help, and thanks again!
In case the test coverage is good... than... a well known approach can be applied: REFACTOR IT, step by step! Rely on tests... add more tests if necessary... REFACTOR AGAIN ))) And so on.
My experience shows that often this brings better results than the frontal attack
Well, and actually I what I wanted -- the above mentioned social logins for Coral...
Hi @stargazer33 ,
If you just need one more auth provider, like facebook, you can use the
There are a lot of strategies here: http://www.passportjs.org/packages/
You can use this for Github and follow the docs to help you to adapt the