PostLogoutRedirectUri: CORS problem

I use spring boot security oidc and keycloak.
Login works.
At logout session is closed but redirect does not work:

logout_redirect_uri=http://localhost:8080/’ to ‘http://localhost:8080/’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access.

What are your client settings?

Ref: