Open sanjaydatasciencedojo opened 3 months ago
Hi @v-jiaodi, this is a blocker for us. Is there any update on this?
@solankisamir Please help take a look, thanks.
@solankisamir, any update on this? This has been blocker for us.
@v-jiaodi and @solankisamir, we are still waiting for the response.
API Spec link
https://raw.githubusercontent.com/Azure/azure-rest-api-specs/c37a507e520767c5bafde6d8fbf9aabef6316fdb/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2022-09-01-preview/examples/ApiManagementPostAuthorizationConfirmConsentCodeRequest.json
API Spec version
2022-08-01
Question/Query
Is there a way to programmatically generate the consent code? There is an SDK to confirm once the user visits the page. Link to the page: https://learn.microsoft.com/en-us/rest/api/apimanagement/authorization/confirm-consent-code?view=rest-apimanagement-2022-08-01&tabs=Python
client. authorization.confirm_consent_code( resource_group_name="rg1", service_name="apimService1", authorization_provider_id="oauthcode", authorization_id="authz1", parameters={"consentCode": "theconsentcode"}, )
Describe the solution you'd like We are looking for—a way for users to skip consent without leaving our site. Our site is already configured as an OAuth provider to the credential manager.
Additional context We want to avoid the screen when authorizing credential managers and using the authorization code method.
image
Environment
No response