You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a learning user, I want to send requests from client side so that I can connect with the api and get response data.
Actual behavior
When sending requests from the angular app, they are rejected due to CORS.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Send any request from the client side following the tutorial.
Related/Dependent Issues
Comments/Hints:
If you follow the documentation to try to replicate the front and end apps, when you reach cors configuration for allow any connections from the client side (https://github.com/devonfw/jump-the-queue/wiki/devon4j-layers), if you follow this wiki ,the project get a couple of errors related to importing cors enabled value from porperties, and also lacks the implementation of getCorsFilter() method. You can check the code in the repository for class BaseWebSecurityConfig anyway, but even copying it throws an exception. Changing inside getCorsFilter() config.setAllowCredentials(true) to false fix the problem, or specifying a list of allowedOriginPatterns should do the trick too.
Affected version:
Tested on windows 10 using Chrome
The text was updated successfully, but these errors were encountered:
Expected behavior
As a learning user, I want to send requests from client side so that I can connect with the api and get response data.
Actual behavior
When sending requests from the angular app, they are rejected due to CORS.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Related/Dependent Issues
Comments/Hints:
If you follow the documentation to try to replicate the front and end apps, when you reach cors configuration for allow any connections from the client side (https://github.com/devonfw/jump-the-queue/wiki/devon4j-layers), if you follow this wiki ,the project get a couple of errors related to importing cors enabled value from porperties, and also lacks the implementation of getCorsFilter() method. You can check the code in the repository for class BaseWebSecurityConfig anyway, but even copying it throws an exception. Changing inside getCorsFilter() config.setAllowCredentials(true) to false fix the problem, or specifying a list of allowedOriginPatterns should do the trick too.
Affected version:
Tested on windows 10 using Chrome
The text was updated successfully, but these errors were encountered: