Can I turn off case sensitivity for Azure AD RedirectURI

Viewed 2254

I have a Redirect URI configured like this:

https://<url>/RALauncher/signin-oidc

But if I go here:

https://<url>/ralauncher

and sign in, I get this error message:

Sorry, but we’re having trouble signing you in.

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: '<guid>'. More details: Reply address did not match because of case sensitivity.

Is it possible to configure this so that the Redirect URI is not case sensitive? I can't find a setting for this in the Azure Portal.

1 Answers

AFAIK there is no setting to turn on or off the case sensitivity, i.e. it will always be case sensitive.

Generally I haven't seen it to be an issue, because app developer controls the code and you can set the configuration in Azure AD App registration appropriately.

Anyway, I don't the exact reason you have different variations on cases, but here is one approach that I can suggest that could solve your issue -

It's a collection, so you can add multiple values. So feel free to add the valid variations from your side. For example:

"replyUrlsWithType": [
        {
            "url": "https://myredirecturi1",
            "type": "Web"
        },
        {
            "url": "https://MyRedirectUri1",
            "type": "Web"
        }
    ]

You can do this by editing the Manifest for your Azure AD app registration

enter image description here

or directly using Portal UI.

enter image description here

Related