Native React Firebase redirect URI is throwing an error ?

Grant G 0 Reputation points
2023-12-16T17:02:59.5633333+00:00

I am attempting to connect my native react project ( android) to allow for Microsoft authentication. I am using this documentation https://rnfirebase.io/auth/social-auth#microsoft along with this documentation https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#configure-platform-settings to connect the services. Firebase is creating a redirect URI that I can use but I cannot enter this in the android section of authentication( I can enter this in the mobile and desktop application section but this also does not work). It asks me for my packageName ( which I have) and the signature hash ( which I also created). This will not generate a redirect URI in Microsoft Entra.

Unfortunately, my issue is that the firebase URI does not match the redirect URI generated by Entra. Is there a way to work around this. Here is the exact error I generate in my app

invalid_request: The provided value for the input parameter 'redirect_uri is not valid. The expected value is a URI which matches a redirect URI registered for this client application. Thanks

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
846 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
8,804 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.