Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RHPAM-4111: Use allowedOriginPatterns() to fix CORS configuration
`Access-Control-Allow-Origin: *` is not allowed when `Access-Control-Allow-Credentials: true`. Spring introduced allowedOriginPatterns() in 5.3.2. If any of the patterns matches the origin of the _request_, the it is used as a value of `Access-Control-Allow-Origin` in the response. For context, see spring-projects/spring-framework#26111.
- Loading branch information