Azure API Management Client credential manager - OAuth2 - Client credentail flow : Missing scope field

Torsten Rinke 5 Reputation points
2024-07-22T10:18:18.2633333+00:00

Hello,

the Azure API Management Client credential manager is currently missing the scope field for the generic OAuth2 identity provider and client credentail flow. This causes issues for all identity provider which require scope. In our particular use case we want to get an access token from Okta without defining default scopes on Okta side.

Does anybody know a workaround or product timeline when this field is added?

Best regards,

Torsten

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

3 answers

Sort by: Most helpful
  1. JananiRamesh-MSFT 27,836 Reputation points
    2024-07-25T04:08:16.0266667+00:00

    @Torsten Rinke Thanks for getting back, I had a discussion internally and confirmed that the scope parameter is generally not used for the client credentials flow, as the credentials themselves give access to the resource and relying on the scope to limit access, given that the scope is provided by the same client that provides the credentials, is not secure.

    In the client credentials flow, the client application is authenticated using its client ID and client secret, and the access token is issued based on the permissions granted to the client application. The scope parameter is not used in this flow, as the client application is already authorized to access the resource.

    do let me know incase of further queries, I would be happy to assist you.


  2. 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

  3. 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 Answers by the question author, which helps users to know the answer solved the author's problem.