# CORS issue on Angular Application

**URL:** <https://forum.keycloak.org/t/cors-issue-on-angular-application/12021>\
**Category:** Configuring the server\
**Created:** [November 11, 2021, 2:26am UTC](https://forum.keycloak.org/t/cors-issue-on-angular-application/12021 "2021-11-11T02:26:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnajm](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mnajm](https://forum.keycloak.org/u/mnajm)\
**Post date:** [November 11, 2021, 2:26am UTC](https://forum.keycloak.org/t/cors-issue-on-angular-application/12021/1 "2021-11-11T02:26:00Z")

</div>

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](https://myServerName:8443/auth/admin/realms/master/users)’ from origin ‘[https://www.myServerName.com](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,

---

<div class="post-metadata">

**Author:** ![jangaraj](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/jangaraj/32/5175_2.png) [@jangaraj](https://forum.keycloak.org/u/jangaraj)\
**Post date:** [November 11, 2021, 8:14am UTC](https://forum.keycloak.org/t/cors-issue-on-angular-application/12021/2 "2021-11-11T08:14:49Z")

</div>

> **[GitHub - jangaraj/keycloak-cors-issue-debugging: Recommendations how to...](https://github.com/jangaraj/keycloak-cors-issue-debugging)**
>
> Recommendations how to solve/debug CORS issues, when Keycloak IDP is used - GitHub - jangaraj/keycloak-cors-issue-debugging: Recommendations how to solve/debug CORS issues, when Keycloak IDP is used
