question

AdityaKumar-7036 avatar image
0 Votes"
AdityaKumar-7036 asked AdityaKumar-7036 commented

Stuck on the window saying "Are you trying to sign in to ***appclient" after moving from adal to msal using react-native-app-auth

So, I have an internal enterprise app that had adal being used for authentication, but now we are trying to move to msal for which I have tried two libraries in react native "react-native-app-auth" and "react-native-azure-auth", and in both cases, after completing the 2MFA I get a screen saying "Are you trying to sign in to ***appclient" where I have two options to continue or cancel but both buttons don't work and I am kind of stuck here, so any help is requested.

Thanks,
86642-msalissue.jpg


azure-active-directoryazure-ad-msal
msalissue.jpg (727.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MarileeTurscak-MSFT avatar image
1 Vote"
MarileeTurscak-MSFT answered AdityaKumar-7036 commented

Do you get any error in the console when you click "Continue"?

Make sure that you've registered the application properly and included all the right redirect URIs. Please confirm also which documentation you are following for this.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No, I am stuck here but sometimes when I click it repeatedly it says the user cannot be signed in, but I found one issue related to this, https://stackoverflow.com/questions/63577935/desktop-app-microsoft-authentication-error,

where the solution is to use HTTP:// or https:// links to redirect as others will show this same error in msal, so can you confirm this, as I have tried with different URLs and they are redirecting to a website with same name as redirect uris, might need to make separate uris from android section as previously I was using the uris from mobile and desktop application section.

The application was registered previously and so there is no issue with redirect uris and registration of application, it is just that when we are moving to msal that we are facing this issue.

1 Vote 1 ·

@MarileeTurscak , Can you please help me resolve this issue, I have given more information in the comments.

0 Votes 0 ·