I’m currently implementing Apple Sign In on an app (as Apple requires of apps that have other providers) and the IdToken that Apple returns natively on iOS 13/14 does not work with MongoDB Realm if it’s configured to use the ServiceId (as explained by the official MongoDB Apple ID Authentication guide).
I did manage to get it working natively, but then the web authentication stops working because I have to change the Client Id on Realm Apple Authentication configuration to use the App ID, not the Service ID.
This doesn’t seem right to me, Apple requires Apple ID authentication to be used on all iOS versions and it isn’t possible to use the native UI before iOS 13, so it’s always required to use both the native auth and the web auth.
How could I use the native UI for iOS 13/14 and the web UI for all the others?