In this case, it will be necessary to integrate with APIM. If Front Door is above APIM then it can route based on user proximity sending some additional parameter to APIM which in turn will have final settings and JWT. It would also be possible to do the opposite, with APIM responding to requests from the Internet, defining the user's region based on the JWT and later forwarding the route to the final endpoint or to Azure Front Door, which in turn performs the filters with WAF and can complete the route. It can also be performed with CloudFlare.
Is it possible in Front Door to route to an origin based on a claim in a jwt?
I have an application which will have instances in different global regions (for data residency reasons). I want to have one url that will be used globally and I want to route to the correct region based on a country field in the jwt. Is it possible to do this within Front Door?
Azure Front Door
-
Rubens Guimarães 175 Reputation points Microsoft Regional Director
2023-06-14T16:46:57.06+00:00
1 additional answer
Sort by: Most helpful
-
Rubens Guimarães 0 Reputation points
2023-06-14T16:45:20.38+00:00 In this case, it will be necessary to integrate with APIM. If Front Door is above APIM then it can route based on user proximity sending some additional parameter to APIM which in turn will have final settings and JWT. It would also be possible to do the opposite, with APIM responding to requests from the Internet, defining the user's region based on the JWT and later forwarding the route to the final endpoint or to Azure Front Door, which in turn performs the filters with WAF and can complete the route. It can also be performed with CloudFlare.