Skip to content

[BUG] Microsoft.ApiManagement service/authorizationServers support for authorizationCodeWithPkce #34711

Open
@QuickScoP3s

Description

@QuickScoP3s

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2024-05-01/definitions.json#L1743

API Spec version

2024-05-01

Describe the bug

To enable support for "Authorization Code + PKCE", the api spec on grantTypes should add support for authorizationCodeWithPkce. This has been supported by the Azure Portal for quite some time already.

Expected behavior

Should be able to set grant type "Authorization Code + PKCE" on the OAuth 2.0 client for the APIM Developer Portal

Actual behavior

grant type authorizationCodeWithPkce is not supported by the spec yet

Reproduction Steps

Trying to set this grant type via Terraform, getting the following error:
Image

Environment

Terraform: v1.12.0
AzureRM provider: v4.28.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    API ManagementMgmtThis issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions