prisma / prisma1

💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
https://v1.prisma.io/docs/
Apache License 2.0
16.54k stars 863 forks source link

More auth providers: Facebook, Github, ... #43

Closed katopz closed 7 years ago

katopz commented 7 years ago

Hi,

Auth0 is nice for free dev but it can reach $745/mo in prod too. So the question is do you have other way to so social login? For example : https://www.reindex.io/docs/security/authentication/#social-login-authentication-providers

Thanks

schickling commented 7 years ago

Hi @katopz, that's a very good point. Yes, we're having plans to add more auth providers in the future. Which ones in particular would be important for you?

katopz commented 7 years ago

@schickling Facebook is a must have for real business, and github for my dream project. :)

Thanks

mbiqbal commented 7 years ago

@schickling Do we have a timeline for this? Especially facebook?

marktani commented 7 years ago

Using Auth0 is the recommended way for now. After their pricing updates I think that's a feasible choice for most applications! :slightly_smiling_face:

We'll add further dedicated Social Logins in the future.

sedubois commented 7 years ago

I'm sad to hear that. I hope Facebook and email auto can come very soon (or at least that there would be a documented way to do it without Auth0). I have the prospect of bringing a prod app with thousands of users and it makes me question whether Graphcool can be more than just a prototyping tool.

marktani commented 7 years ago

Facebook Social Login is indeed on our close time horizon. I'll keep this thread posted with further information soon.

schickling commented 7 years ago

I totally agree with you @sedubois. We have more and more people asking for this so it's a high priority for us along #39 🙂

mbiqbal commented 7 years ago

@marktani Do we have an ETA for this?

marktani commented 7 years ago

We've run a closed beta for the Facebook Social Login feature for a few weeks and it will take us another few weeks until this feature is available to everyone. Thanks for your patience :pray:

jvbianchi commented 7 years ago

add Google as a social provider would be nice, most people have at least one gmail account

mkozhukharenko commented 7 years ago

yes, google would be nice as well

jhalborg commented 7 years ago

IMO Facebook and Google auth are both mandatory for serious projects. Good to know they're in the works :)

jhalborg commented 7 years ago

@marktani - Just to make sure, will the tokens / integrations to the new auth providers be usable with the permissions?

marktani commented 7 years ago

The closed beta is still going on and also includes Google authentication. Both integrations include token verification as well as an integration with the permission system 🙂

sedubois commented 7 years ago

Considering that password authentication should (AFAIK) be avoided for any new project, I think it would make sense to have an easy passwordless system (sending one-time tokens by email/SMS). Can this be considered in the current development?

marktani commented 7 years ago

This is already available through the Digits and Auth0 integrations - did you have something specific in mind?

sedubois commented 7 years ago

Thanks @marktani. I mean that, as pointed in the OP, it's quite pricy and cumbersome just to get authentication.

changalberto commented 7 years ago

Without facebook auth, this is a show stopper for me at the moment. Please get this feature out soon. =)

marktani commented 7 years ago

Hey folks thanks for your thoughts!

@sedubois, Digits is free as far as I can tell. Did you think of a specific integration for an passwordless system?

@changalberto, the closed beta for Facebook/Google Auth is going great and we're doing out best to push it out as fast as possible 🙂

sedubois commented 7 years ago

@marktani AFAIK digits is only for mobile phone, but I need email auth (that's the data I have).

gustavopch commented 7 years ago

@marktani Digits was acquired by Firebase. It was integrated into Firebase Authentication and will be retired in September 30.

jhalborg commented 7 years ago

All the more reason to offer a Firebase Auth integration ;)

rafaelcorreiapoli commented 7 years ago

What if I don't want to use Auth0Lock for my UI? Let's say I want to use react-native-fbsdk to get the facebook token, how can I exchange that for a Auth0's idToken to perform the authentication flow with GraphCool?

marktani commented 7 years ago

We recently released examples for authentication with Facebook and Google using the new beta feature "Schema Extensions" :tada:

We're still looking for help for more examples like Twitter, Github or Firebase. If you're interested to join the beta program, please contact me in Slack (my handle is nilan).

marktani commented 7 years ago

This can be discussed further here: https://www.graph.cool/forum/t/feedback-schema-extensions-beta/405.