I have a webapp that is running on NGINX and it is secured with Keycloak. After successfully sign in through the Keycloak login, it redirects me to the webapp as expected.
However, when I look into the web browser console it shows the following error messages:
The Web Origins
is configured as:
How to avoid the error message? Do I miss any configuration on NGINX?
Hint, the webapp is developed by https://quasar.dev/.
You didn't configure Keycloak OIDC client correctly, so Keycloak didn't set proper CORS headers.
https://dev.oidc.databaker.io/*
is not valid origin (/*
at the end is a problem). https://dev.oidc.databaker.io
is correct origin. But you will see that different origin was used, when you check error from the browse console. It looks like https://dev.databaker.io
was used. So configure web origin of used Keycloak OIDC client properly and CORS issue should be solved.