PixelogicDev / gruveebackend

This is the Backend work for Gruvee
MIT License
24 stars 4 forks source link

Adding createprovideruder Function #49

Closed adilanchian closed 4 years ago

adilanchian commented 4 years ago

When we authenticate with a Firebase service, such as Apple, we do not have the ability to change the UID generated for that account.

Since we are able to do this with Spotify, we sent up all our Firebase rules around that flow. This function will be called anytime a new user is authenticated through a Firebase service provider. It will create a new document in the provider_users collection with a link to the user document in the users collection

adilanchian commented 4 years ago

Verified this works locally