diff --git a/app/config/config.yml b/app/config/config.yml index 689cccecc..666df9638 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -152,6 +152,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]+']