Does AGIC support JWT validation?

Tanul 1,251 Reputation points
2020-09-11T19:20:06.66+00:00

Team,

We need to perform JWT Oauth Token validation for all ingress activities in aks.

Nginx support this feature through

location / { proxy_pass: }

Or

annotations: nginx.ingress.kubernetes.io/auth-url:

Does Application Gateway Ingress Controller(standard v2 sku) supports this functionality.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
982 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,909 questions
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,642 Reputation points Microsoft Employee
    2020-09-24T02:34:11.887+00:00

    Hi @Tanul

    I got a response from the product team that "OAuth is not currently supported on AppGW, but is on their roadmap. Until they support it on AppGW, they won't have support for it on AGIC. They will be updating the GitHub thread once it's available on AppGW.

    There is a feature request open here: https://github.com/Azure/application-gateway-kubernetes-ingress/issues/860

    However, I did find an article which talks about using api management service like APIM or a service mesh solution with AGIC to achieve it.
    https://medium.com/@jw_ng/using-azure-application-gateway-with-api-management-service-f9b9b2cd1731

    You can use the validate-jwt policy in APIM and this feature is available on Consumption tier.

    ----------

    Please 'Accept' as answer if it helped, so that it can help others looking for same information get to this answer faster.


0 additional answers

Sort by: Most helpful