Can Azure Application Gateway or Front Door authenticate users with Entra ID?

0
0
Asked By MellowPine42 On

I'm looking for a way to require Entra ID authentication before users reach the applications behind an Azure Application Gateway or Azure Front Door instance. The goal is to authenticate visitors as early as possible, before they reach any app infrastructure. I'd happily buy a carton of beer for someone who can provide a solid solution or working configuration.

4 Answers

Answered By BlueCedar88 On

You could put Microsoft Entra Application Proxy in front of the service. That gives you pre-authentication before the request reaches the application, although the fit depends on your network layout and whether the apps are suitable for Application Proxy.

Answered By SunnyLattice5 On

Another approach is to use an API gateway to validate Entra ID tokens and enforce claims before requests reach the backend. If you use Front Door directly, a rule could check for the expected authentication cookie and redirect users when it’s missing, but that’s more of a custom workaround and needs careful handling of token validation and redirects.

Answered By KindleMoss31 On

Application Gateway has JWT validation features that can inspect Entra-issued tokens before forwarding requests. It’s currently a preview capability, but it can handle token validation and claims checks at the gateway. Make sure to test the preview behavior carefully before relying on it in production.

CopperVale6 -

That sounds promising. Does the gateway also redirect unauthenticated users to an Entra sign-in page, or does it only validate a token that the client already has?

Answered By QuietOrbit7 On

If the apps are hosted on Azure App Service, Easy Auth is probably the simplest option. It handles Entra ID sign-in and token validation at the App Service layer, so you don’t have to build the authentication flow yourself.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.