Azure / login

Connect to Azure
MIT License
295 stars 284 forks source link

Azure Web App Easy Auth using Reverse Proxy #479

Open jbizcloud opened 1 month ago

jbizcloud commented 1 month ago

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.

YanaXu commented 1 month ago

Hi @jbizcloud , could you double confirm if you raise this question to the right repo? This is Azure Login Action, which supports you to login to Azure in GitHub Actions.

jbizcloud commented 1 month ago

Hi @YanaXu, maybe by mistake. Would it possible you could direct me to the right channel please.

Looking for help with Azure AD Authentication with azure webapps.

YanaXu commented 1 month ago

Hi @YanaXu, maybe by mistake. Would it possible you could direct me to the right channel please.

Looking for help with Azure AD Authentication with azure webapps.

Let me see if we can find the right channel.