Problem Symptoms
You or one of your users receive the following error message when you try to sign in:
Error AADSTS50011 - The redirect URI <Redirect URI> specified in the request does not match the redirect URIs configured for the application <GUID>. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate tohttps://aka.ms/redirectUriMismatchErrorto learn more about how to fix this.
Description
This error occurs if the redirect URI
that the Nylas application sent doesn't match any of the redirect URIs that are registered on the Azure application.
Resolution
-
Copy the <GUID> value from the error message. This is your application (client) ID.
-
Go to the Authentication blade of your application in the Azure portal. You can open the page directly by inserting your application ID as the GUID value in one of the following links:
- If this app is owned by an organization (Azure AD tenant), use
https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/appId/<GUID>
. Make sure that you sign in to the portal by using an administrator account for that organization, or an account that owns the application. - If this app is owned by your personal Microsoft (MSA) account, use
https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Authentication/appId/<GUID>/isMSAApp/true
. Make sure that you sign in to the portal by using your personal Microsoft account.
- If this app is owned by an organization (Azure AD tenant), use
-
Copy the <redirect URI> value from the error message.
-
Add the redirect URI to the appropriate platform configuration. This might be the web, single page app, or some public/native client platform. Make sure to save the input after the redirect URI is added.
-
Wait a few minutes, and then send the log-in request again. You should now be able to sign in to the application.
Resources
Error AADSTS50011: The redirect URI specified in the request does not match
Updated
Comments
0 comments
Article is closed for comments.