Search Lessons, Code Snippets, and Videos
search by algolia
X
#native_cta# #native_desc# Sponsored by #native_company#

Upgrading or Linking Firebase User Accounts

written by Jeff Delaney
full courses and content on fireship.io

This snippet is useful for linking multiple accounts under the same Firebase UID with AngularFire2. We need to access the full firebase SDK, but it is still very easy to implement - just one line of code. Here we upgrade an anonymous user to Google, Facebook, or both.

Gist