Urgent.News

What's breaking now, across thousands of outlets.

Tech

Edge Meets Region: Securing Global APIs with Azure Front Door Edge Actions and Application Gateway JWT Validation

Why This Matters Global, business-critical applications need two things from their front door: speed and smart routing close to the user, and strict enforcement close to the workload. Until recently, getting both on Azure meant custom code in every backend, or extra services in front of them. Two new previews change that. Azure Front Door Edge Actions brings programmable logic to Microsoft's…

Edge Actions in Azure Front Door allow you to run custom JavaScript code at the edge, near users, before requests reach your backend services. This JavaScript logic helps with A/B testing, manipulating request and response headers, rejecting invalid requests, dynamically selecting origins, rewriting URLs, and even validating JWT tokens.

Edge Actions are executed within an isolated sandbox and can only run for up to 10 milliseconds before being stopped. If your code takes longer than that, Front Door stops processing it without executing the Edge Action. The Edge Actions feature provides a way to add custom logic at the edge without needing to deploy code to your backends.

On the other hand, Azure Application Gateway JWT validation enables you to validate Microsoft Entra ID access tokens in incoming HTTPS requests without writing any code. This feature checks the token's signature, issuer, tenant, audience, and lifetime, and adds an x-msft-entra-identity header to the backend request if the token is valid.

This header contains the tenant ID and object ID, which can be used by your services to authenticate the request without needing to handle token parsing themselves. The Application Gateway JWT validation requires a specific SKU, an HTTPS listener, and outbound access to login.microsoftonline.com on port 443.

By combining Edge Actions in Azure Front Door with JWT validation in Azure Application Gateway, global, high-importance applications can achieve several benefits. First, data residency can be controlled by the token's tenant claim, allowing Edge Actions to route users to the appropriate regional Application Gateway based on their tenant.

Second, requests with invalid or malformed JWTs can be rejected at the edge, reducing the load on your Application Gateway and origin services during credential stuffing attacks or misbehaving clients. Third, Application Gateway provides full cryptographic validation of JWTs and passes a verified x-msft-entra-identity header to your backends, enabling Zero Trust identity for every microservice without each team implementing token validation independently.

Fourth, Edge Action execution filters allow for safe, tenant-aware rollouts of new backend versions, enabling canary releases and instant rollbacks. Finally, the combination of these two features provides defense in depth, as the edge layer fails open on timeout while the regional gateway fails closed, ensuring that invalid requests are stopped before reaching your backends.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

We Masked a Secrets File With a Regex. The Key Printed Anyway.

The output looked fine for about three lines. DATABASE_URL=**** APP_ID=**** PRIVATE_KEY=**** Then it kept going, and the next lines were not masked at all. They were the body of a private key.

  • Reporter discovered regex masking flaw on October 25, 2026
  • Private key body exposed despite regex masking attempt
  • Proposed dotenv parser solution to prevent secret leakage

The best time to apply for jobs, from 300,000 real job postings

Originally published on Job Market Data , where the numbers refresh every month. Short answer: apply in the first week a job is up, ideally in the first few days.

  • Apply for jobs early in the week for higher success rates
  • New postings peak on Tuesdays, Wednesdays, and Thursdays
  • Half of jobs disappear within 33 days; act promptly on applications

More from Wednesday 18 November →