CORS issue on Angular Application

I’ve installed the Keycloak server on my Windows instance (GCP). However, I’m seeing CORS issue when I hit end point in the. I have updated the client id weborigin to “*” on the console but still same issue. Any help would be appreciated.

Below is the exact issue:
Access to XMLHttpRequest at ‘https://myServerName:8443/auth/admin/realms/master/users’ from origin ‘https://www.myServerName.com’ has been blocked by CORS policy: Request header field access-control-allow-methods is not allowed by Access-Control-Allow-Headers in preflight response.

Thanks,

1 Like