diff --git a/app/config/config.yml b/app/config/config.yml index bce382681..30d6de930 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -155,6 +155,11 @@ nelmio_cors: allow_headers: ['X-Custom-Auth'] allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] max_age: 3600 + '^/oauth/': + allow_origin: ['*'] + allow_headers: ['X-Custom-Auth'] + allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] + max_age: 3600 '^/': #origin_regex: true allow_origin: ['^http://localhost:[0-9]+']