External users obtaining tokens through API Management API endpoints?

hawthorne91 230 Reputation points
2024-08-16T16:36:16.6133333+00:00

Hi, my APIs in API Management require both a Bearer token and a subscription key to be passed with each request. I'm looking for a way to automate the process of obtaining tokens without exposing secret client credentials. I'm considering creating a separate API endpoint within API Management that would allow users to obtain their access and refresh tokens by providing a subscription or product key in the request to this endpoint. Is this a secure and valid approach for issuing access and refresh tokens to users?

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

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.