Redirect URL error on android pinned web

Rodrigo 1 Reputation point
2022-02-18T13:06:21.963+00:00

Hi,
I'm having a really strange behaviour.
I have a webapp working as expected, using Azure AD auth.
If I open this webapp with Chrome, and add the shortcut to the main page, when I try to login I'm getting the "The reply URL specified in the request does not match the reply URLs configured for the application".
175859-image.png

Why this behaves different if I open from chrome than if I open from the shortcut? Should I configure some different in the app registration?

I hope you can help me.

Thanks in advance.

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 37,206 Reputation points Microsoft Employee Moderator
    2022-02-18T22:07:34.12+00:00

    Hi @Rodrigo ,

    I understand that you are trying to access your web app in Chrome and seeing the following error when adding a shortcut to the main page:

    AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application

    It sounds like the shortcut has a different callback url/redirect URI in the request, and this needs to be added in your app registration.

    The reply URL needs to be added in both the application code configuration for the request and the Redirect URI listing in the app registration. Since you are using Chrome, you can use the network tab on Chrome to find out which Redirect URI is being sent out and match it to the app registration in Azure AD.

    175928-image.png

    Once you have the reply URL from the request, you can add it to the Redirect URI section of the authentication blade. You can also check the "Authentication blade" in the App Registration for the following app "ec831583-2dcf-42d0-9ad9-0da42e7e8f01" and once you check that, add the redirect URIs from the application to the application request.


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.