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

[Identity] Fix device code tests #35846

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

pvaneck
Copy link
Member

@pvaneck pvaneck commented May 31, 2024

A recent change in MSAL made it so that the "device_authorization_endpoint" is no longer faked/populated as it's always expected to be in the discovery response (example). Our tests seemingly relied on this fallback behavior since our mock discovery response didn't return a "device_authorization_endpoint" value. This updates our mock response accordingly.

A recent change in MSAL made it so it is required that
"device_authorization_endpoint" is set in the discovery response.

This populates the value in the mock discovery response.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@pvaneck pvaneck marked this pull request as ready for review May 31, 2024 18:33
@pvaneck pvaneck requested review from xiangyan99 and a team as code owners May 31, 2024 18:33
@pvaneck pvaneck merged commit f89cbd0 into Azure:main Jun 3, 2024
34 checks passed
@pvaneck pvaneck deleted the fix-device-code-tests branch June 3, 2024 19:34
pvaneck added a commit that referenced this pull request Jun 10, 2024
A recent change in MSAL made it so it is required that
"device_authorization_endpoint" is set in the discovery response.

This populates the value in the mock discovery response.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants