AFD Premium - Redirect adds a Trailing Slash when redirecting to mobile app

wael hammami 0 Reputation points
2024-08-21T13:49:06.0366667+00:00

Hello,

We have an OpenID Connect provider behind an Azure Front Door Classic, and everything is working as expected. We are currently migrating our infrastructure to a new Azure tenant where we have deployed the same application behind an Azure Front Door Premium.

We are encountering a problem when making authentication callbacks to our web application. The callbacks work fine, but when we try to make authentication callbacks to our mobile app, there is a trailing slash in the redirection URL.

we expect to recieve: app.company.consumers://home?code=_W*****

but

we are redirected to recieve: app.company.consumers://home**/?code=gkw*

how could we fix the issue and not having the Trailing Slash added?

Thanks

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
688 questions
{count} votes

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.