Revision history [back]

click to hide/show revision 1
initial version

answered 2022-04-12 20:17:37 +0800

KlausWr gravatar image KlausWr

I found the problem: we use keycloak as user management and authentication service. There is a problem with cross origin ajax requests.

Access to fetch at 'http://...' (redirected from 'http://.../zkau') from origin 'http://...' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Anybody aware of this problem? Do I need to configure zk properly to allow this "access"?

I found the problem: we use keycloak as user management and authentication service. There is a problem with cross CORS (cross origin resource sharing) ajax requests.

Access to fetch at 'http://...' (redirected from 'http://.../zkau') from origin 'http://...' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Anybody aware of this problem? Do I need to configure zk properly to allow this "access"?

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More