How to create API for jwt token issuer for azure video analyzer player widget

HS 1 Reputation point
2021-09-14T12:50:36.35+00:00

I am using azure video analyzer player widget in my react js application and I want to use API for jwt token issuer so that in the client side I can get fresh token after expiration. How can I create API for the same to consume it in the client side?

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
302 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Russell Cooks 6 Reputation points
    2021-09-14T15:38:07.183+00:00

    Hello, please refer to this documentation here. https://github.com/Azure/video-analyzer/tree/main/widgets#token-refresh
    It shows how to add an event listener to update the token when the token is expired.