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
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