How to create or sign JWT token in AZURE APIM

Senthil Kumar Ulaganathan (C) 1 Reputation point
2021-09-02T19:41:26.097+00:00

Hi,

I need to create the JWT in APIM policy. where I need to create the JWT that includes JWT Header, JWT payload Or claims and JWT signature (using the private key).

Any leads or links that would help me a lot.

Struggling on this for the last few days.

Thanks,
Senthil.U

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,144 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,466 Reputation points
    2021-09-10T06:16:00.577+00:00

    @Senthil Kumar Ulaganathan (C) Apology in reaching out. If your requirement is that you want to create the JWT token and pass the same to your backend then API Management Policy for Access Token Acquisition, Caching and Renewal article have the details how this can be achived. This document cover how to acquire access token from Azure AD thru client credentials flow.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.