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

Entra/Library Updates #38532

Merged
merged 84 commits into from
Nov 9, 2023
Merged

Entra/Library Updates #38532

merged 84 commits into from
Nov 9, 2023

Conversation

hakimms
Copy link
Member

@hakimms hakimms commented Sep 6, 2023

This PR will update request validation errors to send back 500s to eSTS and response validation errors to send back 400s. This way, we can identify that 500 errors is eSTS are internal and should be marked as failures whereas 400 errors are customer input errors and should be identified as CallerErrors in eSTS.

Bug 2161532: Treat Only Response Validation Errors as 500

9/12/2023
Merged another PR that made the ODataType property in the request payload required.

Bug 2433238: Require ODataType in the payload

9/19/2023

Merged another PR that added metrics to header. Will be used to track the number of requests and responses for each action. Also changed version semantics to Major.Minor.Patch.PreRelease

Product Backlog Item 2653343: Emit metrics in the Nuget

10/4/2023

Merged another PR that made the errors for JSON payload more descriptive when an invalid character is passed and added newtonsoft check to validate payload is JSON format.

Bug 2433252: Invalid JSON should error better

@github-actions github-actions bot added Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Sep 6, 2023
@github-actions
Copy link

github-actions bot commented Sep 6, 2023

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

@azure-sdk
Copy link
Collaborator

azure-sdk commented Sep 6, 2023

API change check

APIView has identified API level changes in this PR and created following API reviews.

Microsoft.Azure.WebJobs.Extensions.AuthenticationEvents

@hakimms hakimms changed the title Entra/Make Request Errors 500 Entra/Make Request Errors 500, Require ODataType and Emit Metrics Sep 20, 2023
@jsquire
Copy link
Member

jsquire commented Sep 25, 2023

@HarmanDhunna, @hakimms: I'd like to introduce @AlexanderSher, who is going to take over as the primary contact for helping with this review and those for the Entra extension going forward.

@hakimms
Copy link
Member Author

hakimms commented Sep 25, 2023

@HarmanDhunna, @hakimms: I'd like to introduce @AlexanderSher, who is going to take over as the primary contact for helping with this review and those for the Entra extension going forward.

Thank you for all of your assistance and guidance @jsquire.
Hi @AlexanderSher, nice to meet you

@HarmanDhunna
Copy link
Member

Adding examples of how the implementation might get used and implemented.
Usage: https://dotnetfiddle.net/mCMRkZ
Implementation: https://dotnetfiddle.net/2wKTmN

@HarmanDhunna HarmanDhunna dismissed jsquire’s stale review November 9, 2023 22:25

Review responsibilities passes on to Alexander Sher

@AlexanderSher AlexanderSher merged commit 41e5fd3 into Azure:main Nov 9, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants