Authorization for VK

2,416 views
Skip to first unread message

Alexei Vorobey

unread,
Aug 5, 2014, 8:28:20 AM8/5/14
to fireba...@googlegroups.com
Dear Firebase team, Great product! You did amazing job! I have a question regarding Authentication Provider. I wonder to know whether it is possible to add to Firebase one more Authentication Provider, which will cover a lot of public from Russian and post soviet region. I mean for vk.com (vkontakte). The main reason I need this: I do not want to have another one hosting for authentication purpose only (thru Custom Provider). And plan to park all my code (which is static) on Firebase hosting. Thanks a lot, Aliaksei

Jacob Wenger

unread,
Aug 5, 2014, 1:47:20 PM8/5/14
to fireba...@googlegroups.com
Hey Alexei,

Thanks for the compliments. I'm glad you are enjoying using Firebase and Simple Login!

You are correct in that we don't current support vkontakte as an authentication provider. Unfortunately, we don't have any plans on adding it as an authentication provider in the near future. That may change over time, but you can't rely on us implementing it. As a result, you will have to implement this authentication yourself on your own server. Passport is very useful in doing this and is how we do our authentication on the backend. There is even a passport-vkontakte repo on GitHub which you can use. 

An easier solution for you would be to use FirebasePassportLogin. It still requires you to set up your own server, but that is as easy as running a provided script on your server. It provides OAuth access to hundreds on providers, including vkontakte.

Good luck and let me know if you have questions along the way!
Jacob

On Tue, Aug 5, 2014 at 5:28 AM, Alexei Vorobey <aliaksei...@gmail.com> wrote:
Dear Firebase team, Great product! You did amazing job! I have a question regarding Authentication Provider. I wonder to know whether it is possible to add to Firebase one more Authentication Provider, which will cover a lot of public from Russian and post soviet region. I mean for vk.com (vkontakte). The main reason I need this: I do not want to have another one hosting for authentication purpose only (thru Custom Provider). And plan to park all my code (which is static) on Firebase hosting. Thanks a lot, Aliaksei

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexei Vorobey

unread,
Aug 6, 2014, 8:21:18 AM8/6/14
to fireba...@googlegroups.com
Jacob,

Thank you for the quick reply.

I understand the way of authentication using FirebasePassportLogin and separate server. But I do not want to do this, because of the performance and costs reasons and as I mentioned all my code is static (html+js only). Do you ever plan to extend your FireBase hosting to use NodeJS on it (not just static hosting)?

Thanks,
Aliaksei

Abe Haskins

unread,
Aug 6, 2014, 2:20:25 PM8/6/14
to fireba...@googlegroups.com
Alexei,

I'm not sure about Firebase's plans to support NodeJS hosting anytime in the future, however, I am sure that you can run FirebasePassportLogin on a free Heroku instance, so it will cost you nothing and be relatively trivial to set up.

Best,
Abe

Jacob Wenger

unread,
Aug 6, 2014, 2:22:01 PM8/6/14
to fireba...@googlegroups.com
Hey Aliaksei,

We have heard similar requests from other developers about being able to run things like Node.js through our hosting service. This is a feature I myself would really like to see! At the moment, we are working on other features of our platform. I don't have any dates for when a feature like this would make it into our product.

If you want to do VK login, your only option right now is unfortunately to authenticate using your own server.

Jacob

Alexei Vorobey

unread,
Aug 7, 2014, 4:30:45 AM8/7/14
to fireba...@googlegroups.com
Thanks Jacob and Abe!

Michael Wulf

unread,
Aug 12, 2014, 1:15:09 PM8/12/14
to fireba...@googlegroups.com
Alexei,

It looks like you may also be able to use Auth0, which supports Firebase and Vkontakte.

Cheers,
Reply all
Reply to author
Forward
0 new messages