So far, I have an iOS (and an Android) native application written in Swift and using Firebase Auth for authentication. So all my users are currently stored in Firebase Auth, and my data is stored in Firebase Realtime Database.
The next step of my application is to use Microsoft Dynamics CRM as a user repository, and I figured that a good strategy to do that without depending on MS Dynamics API for everything was to proxy authentication through Auth0.
So I figured the best strategy would be to first migrate my application to using Auth0 as a user repository, and still plug Firebase Auth into Auth0, in order to keep all the other features of Firebase intact. And then once this is done, I could plug Auth0 into MS Dynamics and leave the iOS part untouched.
Is that a realistic approach, and if so, what documentation is most relevant to this use case?
FYI, I found a lot of information about how to configure an iOS app to plug directly into Auth0 (not through Firebase Auth, which would cut my connection with other Firebase services), and to connect Auth0 and Firebase Auth in a web application. But I’m lost on where to start on iOS/Swift/Firebase Auth/Auth0.