Problem in App Registration

David Ruiz 1 Reputation point
2023-01-04T11:25:00.073+00:00

Hello

We are trying to connect an "url" with azure using SSO, we followed the provider's instructions to create the app registration, but when accessing its url and accepting the MFA authorisation, we get this error:

AADSTS50011: The redirect URI 'https://planasa.phenome-networks.com/#id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ii1LSTNROW5OUjdiUm9meG1lWm9YcWJIWkdldyIsImtpZCI6Ii1LSTNROW5OUjdiUm9meG1lWm9YcWJIWkdldyJ9.eyJhdWQiOiJjMTBiZjgzNS1kNjA1LTRmZDctYjBmZS01MWJjZTIyYTE1MjAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC8xZDhlNzcxOS1iNmY3LTRiN2UtYTdiMS05Yjk5NzUyOTUxMjIvIiwiaWF0IjoxNjcyODMwODkyLCJuYmYiOjE2NzI4MzA4OTIsImV4cCI6MTY3MjgzNDc5MiwiYWlvIjoiQVdRQW0vOFRBQUFBTG10WTNLZkJtQkd0M05Ma0Vuc2Z6WUtheEpGM2E2ck5TN0l3WWc4UEdwY29iOWQrOUoxYXRsMUpHaWhtRFBBbEUxZjhJOTU0QTJpTGpQVXg0c3JaL29uanU4azFtRTl3TUxTOGpIa0tjdDE4UmljZS9jK2hQa3VqcFRneGV2VEEiLCJhbXIiOlsicHdkIiwicnNhIiwibWZhIl0sImNjIjoiQ2dFQUVndHdiR0Z1WVhOaExtTnZiUm9TQ2hCNFgySkptWUo2UW9lVVg3Z2htMVczSWhJS0VJN0dwUngweTR0T2lmMEI5TU9tZ0FBeUFrVlZPQUE9IiwiZmFtaWx5X25hbWUiOiJSdWl6IiwiZ2l2ZW5fbmFtZSI6IkRhdmlkIiwiaXBhZGRyIjoiODcuMjM1LjE5MS4xOTciLCJuYW1lIjoiRGF2aWQgUnVpeiIsIm5vbmNlIjoiY2RlMzAwYjktZmY2OC00YjE1LWIzODgtNjgzMGExNDM0YzM3Iiwib2lkIjoiZTNhMWU1MzItZGU4MS00NDYxLWFhZjQtODkyMDlmZDM3NThhIiwib25wcmVtX3NpZCI6IlMtMS01LTIxLTQxMjE5NjUwMjctMjM2NjI5MTA5MC0zMDA4NDI5NDE5LTE3MTAzIiwicmgiOiIwLkFRa0FHWGVPSGZlMmZrdW5zWnVaZFNsUklqWDRDOEVGMXRkUHNQNVJ2T0lxRlNBSkFFYy4iLCJzdWIiOiIyUUFnSTVjM09kWW1zU0pLYkZfTHpqNDdiYmRMeG1TQVVwMGdsS2h4QTFFIiwidGlkIjoiMWQ4ZTc3MTktYjZmNy00YjdlLWE3YjEtOWI5OTc1Mjk1MTIyIiwidW5pcXVlX25hbWUiOiJkcnVpekBwbGFuYXNhLmNvbSIsInVwbiI6ImRydWl6QHBsYW5hc2EuY29tIiwidXRpIjoianNhbEhIVExpMDZKX1FIMHc2YUFBQSIsInZlciI6IjEuMCJ9.KRAYEATC7K6dM5H_sQqigXz-lp59dsgZTANUTGi3KkHxERWz3oX_3RHaQHOHokbEpyGQFGEq2430gdiyieV_QZwnu7SMNCGM3ntafLHQOZM7d0Zb0p3TgpTsQwCevzskbo9oYcqQPlbdrjgOfwl5KSFO6Bxe268k5jw9S3AviRFheQ0d62I0hGGTJcHKxFfgyJK6LfQLLDDsKoajfsYQUVY1keJe-oRp0taw7yAMWqchuWJJvOQv99jbSADicc1p1v5QTx4jfCJzXM-meGsIZFX6mHvoA9jQlhP4euya4D_S1eEOJmNAkbTiBUEZL7ZHtrb7IRsBFPemvVMuHmOonA&state=3bac186d-3e16-4ff9-b423-b823852fbe6d&session_state=29d1fba9-af81-4076-829b-2462b86bef7c' specified in the request does not match the redirect URIs configured for the application 'c10bf835-d605-4fd7-b0fe-51bce22a1520'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

We check it and it seams everthing it´s correct. Also the "ID tokens (used for implicit and hybrid flow"

276055-image.png

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

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,486 Reputation points
    2023-01-04T11:33:18.003+00:00

    Hi,

    Can you check this troubleshooting page and see if it helps to resolve the issue, it seems there is a missing character or the redirect URL is not mapping to the Azure AD.error-code-aadsts50011-redirect-uri-mismatch

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.


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.