Is it considered acceptable/safe to use an Azure AD access token in the browser for Cognitive Services when /issueToken is unavailable?

Brett Jewell 20 Reputation points
2025-11-18T21:55:02.5466667+00:00

I am currently using the /issueToken endpoint to obtain a short-lived token, which I then pass to the frontend browser client for use with the Speech SDK.

I am migrating to a Speech resource configured with a private endpoint, which means the /issueToken endpoint is no longer available.

My plan is to use the Microsoft Entra (Azure AD) authentication flow to acquire an Azure AD access token.

Is it considered acceptable and safe to pass this Azure AD token directly to a frontend browser client for use with the Speech SDK? If not, what are the recommended alternatives or best practices in this scenario?

Related documentation:

Azure Speech in Foundry Tools

1 answer

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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