I’m trying to use keycloak with my angular application to obtain an access token but am receiving a cors “missing Access-Control-Allow-Origin” header, I’ve looked at a lot of different posts on here and implemented the solutions but nothing has thus far worked.
I’m using the standard authentication flow (Authorization code) and can acquire an authorization token however when I attempt to retrieve an access token from the appropriate endpoint it returns the above error. I’ve added pics of my images below.
Any help would be greatly appreciated 🙂
So far I’ve changed the web origins configuration in my client however this has achieved nothing. Also worth mentioning is that the keycloak instance is running in a docker container however as the issue seems to be with Cors this is probably not the issue.
I’ve also tested in both chrome and firefox and created a fresh client to confirm this is not due to a specific client setting in my original client
keycloak config
angular client requesttion here