Skip to content

Fix CORS request pattern matching in authenticators#10387

Merged
nielsm5 merged 1 commit intorelease/9.4from
backport/9.4/fix-cors-issues
Feb 4, 2026
Merged

Fix CORS request pattern matching in authenticators#10387
nielsm5 merged 1 commit intorelease/9.4from
backport/9.4/fix-cors-issues

Conversation

@nielsm5
Copy link
Member

@nielsm5 nielsm5 commented Feb 3, 2026

Backport of #10342

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
37.5% Coverage on New Code (required ≥ 65%)

See analysis details on SonarQube Cloud


try {
httpSecurityConfigurer.csrf(CsrfConfigurer::disable); // Disable CSRF, post requests should be possible.
httpSecurityConfigurer.cors(CorsConfigurer::disable); // Disable CORS, post requests should be possible.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

het pr heet 'fix cors request pattern matching' -- hier doe je toch wat anders, je zet cors helemaal uit?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

De spring MVC filter ja. Die is voor WebService endpoints niet handig/belangrijk.
We filteren op options requests om te kijken of we iets met authenticatie moeten doen.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Top, had ik dan in de vorige even gemist.

@nielsm5 nielsm5 merged commit 63fde75 into release/9.4 Feb 4, 2026
18 of 20 checks passed
@nielsm5 nielsm5 deleted the backport/9.4/fix-cors-issues branch February 4, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants