Commit 79a129a1 authored by Juha's avatar Juha

Missing CORS credentials enabled

parent 05eed06a
Pipeline #24879999 passed with stage
in 0 seconds
......@@ -7,6 +7,7 @@ require('./lib/config')();
const cors = corsMiddleware({
preflightMaxAge: 5,
origins: nconf.get('http:allowedOrigins').split(','),
credentials: true,
const app = restify.createServer({ name: 'Auth Service' });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment