Reputation: 1037
We have 2 apps (iOS and Android) which allow user to authenticate using either phone number or through Facebook.
In case of phone number it worked like this: app launched Digits authentication flow. After user submitted code from SMS, Digits SDK provided out app with the token. App sent this token to the server which looked up user by this token and responded to the app with new or existing users.
The problem is that we have to migrate our Digits users to Firebase (as Digits will stop working at 30th September). We did a migration through the Fabric console so our Fabric and Digits apps are now linked.
The problem is that even after migration there's no way to tell if the user which signed up with phone number before the migration is the same because for the same phone number Digits and Firebase SDK will give us different tokens and user IDs (as far as I understand).
Is there a way we can find user in the Firebase by their Digits id/token?
Upvotes: 2
Views: 223