Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update authorization_code.py: solve AADSTS7000218 issue #34986

Closed
wants to merge 1 commit into from

Conversation

pacciu
Copy link

@pacciu pacciu commented Mar 28, 2024

When using AuthorizationCodeCredentials, there is an error: "AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'" Solved by adding self._client_secret when _request_token calls obtain_token_by_authorization_code

When using AuthorizationCodeCredentials, there is an error: "AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'"
Solved by adding self._client_secret when _request_token calls obtain_token_by_authorization_code
@pacciu pacciu requested review from pvaneck, xiangyan99 and a team as code owners March 28, 2024 13:29
@github-actions github-actions bot added Azure.Identity Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Mar 28, 2024
Copy link

Thank you for your contribution @pacciu! We will review the pull request and get back to you soon.

@xiangyan99
Copy link
Member

Thanks for your contribution.

There is an active PR for it: #34862

Please feel free to leave your comments in the PR.

@xiangyan99 xiangyan99 closed this Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants