Nextcloud Docker with CORS

Hi Team,

Thanks for the docker image. I have successfully configured the Nextcloud docker and it is working fine, but when I call the same from my Angular docker (which runs in NGINX) I am getting CORS issues. Can anyone please let me know what I need to do in this case? Thanks in advance.

Access to XMLHttpRequest at 'http://localhost:8080/nextcloud/index.php/apps/oauth2/api/v1/token' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Kindest Regards
Sibeesh Venu