Spring Boot + React + Keycloak after login returns No Access-Controll-Allow-Origin header is present

I am trying to add a frontend to my SpringBoot application. I also have a users provider connected perfectly, because if I did a CURL it works.

The problem begins when connecting react to Keycloak to do a login, it shows the login page, but when the login is OK it returns
Access to XMLHttpRequest at 'http://localhost:18080/auth/realms/Realm/protocol/openid-connect/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

It still problem of Keycloak because it is working by CURL, but I could not reach to configure it well.

I add a * in Web Origins of the Client also.

Have the same problem with js frontends. So seems like the issue is in keycloak itself, not in client adapters.
Configuring Web Origins also didn’t help in my case

Take a look here: CORS settings don't work