Hello Everyone,
I am having a problem with making a request to get all documents in a vault. Every time I pass the x-authentication header in the request, it returns an error
"access to fetch at '172.16.2.29/.../115' from origin 'http://localhost:5500' has been blocked by cors policy: request header field x-authentication is not allowed by access-control-allow-headers in preflight response"
I already have CORS enabled in my IIS Server.
I don't know what causes the error. The image below is my code