microsoft / immersive-reader-sdk

SDK for using the Immersive Reader through Cognitive Services
MIT License
95 stars 52 forks source link

Azure AI Immersive Reader Token Expired every time #526

Open SampathChintala opened 1 month ago

SampathChintala commented 1 month ago

I setup an Azure Immersive Reader SDK for use in an ASP.Net MVC application using the Microsoft Learn tutorials. This all worked fine but now have an issue where the token is always shown as expired expired. I have given correct TenantId, ClientId, ClientSecret and Subdomain. Can some one help me on this.

TokenExpire
cristobal-buenrostro commented 1 month ago

Hi @SampathChintala

please double check that you are getting the token in right way; here is our nodeJS code sample where you can check the api call. And you can also verify the token is passed correctly to the launchAsync function. See our sample here:

cristobal-buenrostro commented 1 day ago

Hi @SampathChintala , anything else we can help here?