Skip to content

Cors problem #2

@sylvain-pro

Description

@sylvain-pro

When I clone this repository and run all the modules, there is CORS problem on the inbox page :

image

I tried to add to BffSecurityConfiguration
@Bean CorsConfigurationSource corsConfigurationSource() { UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); CorsConfiguration config = new CorsConfiguration(); config.addAllowedHeader("*"); config.addAllowedMethod("*"); config.addAllowedOrigin("http://localhost:4200"); config.setAllowCredentials(Boolean.TRUE); source.registerCorsConfiguration("/**", config); return source; }
but I have another CORS error

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions