Forum Discussion

jcloudtech's avatar
jcloudtech
Copper Contributor
Aug 07, 2024

Azure Web App Easy Auth using Reverse Proxy

My organization manages one single endpoint which must be used to expose web application;

 

e.g.

https://contoso.com/app-one/

 

We deployed an app in az web apps with Azure AD Easy Auth. (not accesible from the internet and no custom domain).

https://app-one.azurewebsites.net

 

Our app registration has this callback:

https://contoso.com/app-one/.auth/login/aad/callback

 

When i try to open any the app using https://contoso.com/app-one/, the browser recirects to Azure Login page, but it redirects back to https://app-one.azurewebsites.net., instead of going to the public website https://contoso.com/app-one/.

 

Our reverse proxy user Azure APIM.

 

Question is: how can i make Azure Web App to redirect to public endpoint instead of the azurewebsite endpoint?

 

Thanks.

 

No RepliesBe the first to reply

Resources