So it seems in Entra iOS bundle name and Android package name cannot be the same. E.g.:
- iOS: company.appname
- Android: company.appname
It appears when we use the same one it defaults on Entra to try the iOS one. Why it does this who knows.
I've tested this in a POC and had to change the Android package name to get it to work.
I'm absolutely baffled by this, it makes no sense. We get this error when trying to create the client.
The redirect URI in the configuration file doesn't match with the one generated with package name and signature hash. Please verify the uri in the config file and your app registration in Azure portal. We expected 'msauth://company.appname/abc' and we received 'msauth://company.appname/xyz'.
Has anyone solved this?