This is because of Cross Origin Restrictions that all custom headers by default are blocked. 'authKey' is not defined in the list of safe headers.
1. Use one of predefined header:
Refer this for the list of safe headers and their purpose so you can use one of the safe headers to match your purpose.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
2. Use CORS:
Cross-Origin Resource Sharing allows us to relax the security applied to an API.
// nodeJS code
var express = require('express');
var cors = require('cors');
var app = express();
app.use(cors());
Read more about why Cross origin restrictions block custom headers Why does CORS block custom headers by default?
it’s not ”CORS” that’s imposing the default restrictions. Instead those restrictions are just part of the default same-origin policy that browsers follow