CORS error when trying to GET user from Keycloak API

I’m using Keycloak 16 with Angular through oidc-client-js.

I’m trying to get user data using REST API.
When I do GET from http://localhost:8080/auth/realms/ninegold/ I receive 200 with JSON response.

But when trying to get user info: GET http://localhost:8080/auth/realms/ninegold/users/0e0cf56d-d809-48b0-ac04-bc9dace51be9/ (or any other APIs) I’m getting CORS error

Update Web origin in Keycloak → Client to * or update with your host to allow cross origin in Keycloak