Adding SecurityConfig
Required Actions
- Need to configure CORS to allow frontend to access the backend.
- Please add the below SecurityConfig class in your project.
Excpected Delivrables
- The backend should allow secure communication with the frontend by enabling CORS.
- Authentication and authorization should remain intact for all endpoints.