Hello @SK !
If you have tried the Translate Urls in application body without luck , then yu have to take care of this redirection .
https://learn.microsoft.com/en-us/entra/identity/app-proxy/application-proxy-application-gateway-waf
https://learn.microsoft.com/en-us/azure/application-gateway/how-application-gateway-works
I suggest you have a look on Application Gateway integration , but even this will be an issue , since the Login is via a Different Port , maybe there is a solution , you have to create another URL mapping while
maintinaing the intial URL
For example
https://application:5000 --> used to login
https://application:5000/signup --> used to signup Application Gateway can solve this issue and offers advanced configuration elements as well
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards