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

Endpoint security middleware #173

Merged
merged 2 commits into from
Sep 1, 2024
Merged

Conversation

andrewlock
Copy link
Owner

Make some changes to the design of the endpoint-specific endpoints work in #172 . tl;dr; call UseSecurityHeaders() as before, at the start of the middleware pipeline, and then call UseEndpointSecurityHeaders() after UseRouting().

I think this is preferable as it's much easier to explain and reason about, and we don't have to worry about "overrides" so much etc

@andrewlock andrewlock changed the base branch from master to major_v_bump September 1, 2024 13:22
@andrewlock andrewlock merged commit 0a0557f into major_v_bump Sep 1, 2024
3 checks passed
@andrewlock andrewlock deleted the endpoint_security_middleware branch September 1, 2024 15:40
andrewlock added a commit that referenced this pull request Sep 6, 2024
* Update FluentAssertions

* Split out EndpointSecurityHeadersMiddleware from SecurityHeadersMiddleware
andrewlock added a commit that referenced this pull request Sep 15, 2024
* Update FluentAssertions

* Split out EndpointSecurityHeadersMiddleware from SecurityHeadersMiddleware
andrewlock added a commit that referenced this pull request Sep 25, 2024
* Update FluentAssertions

* Split out EndpointSecurityHeadersMiddleware from SecurityHeadersMiddleware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant