Skip to content

feat: allow OPTIONS requests for CORS and streamline session manageme…#34

Merged
jhonatapers merged 1 commit intodevelopfrom
feature/cors
May 28, 2025
Merged

feat: allow OPTIONS requests for CORS and streamline session manageme…#34
jhonatapers merged 1 commit intodevelopfrom
feature/cors

Conversation

@jhonatapers
Copy link
Copy Markdown
Member

This pull request makes updates to the SecurityConfig class to enhance flexibility in request handling and streamline session management configuration. The most important changes involve allowing all OPTIONS HTTP requests and simplifying the session management setup.

Authorization updates:

  • SecurityConfig.java: Added a rule to permit all OPTIONS HTTP requests, improving compatibility with preflight requests in CORS scenarios.

Session management simplification:

  • SecurityConfig.java: Refactored the session management configuration to use a more concise syntax while maintaining the STATELESS session policy.

@jhonatapers jhonatapers self-assigned this May 28, 2025
@jhonatapers jhonatapers merged commit 8cb9b75 into develop May 28, 2025
@jhonatapers jhonatapers deleted the feature/cors branch May 28, 2025 00:32
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